if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "44484",
"name": "Llanta para Grava Bontrager Betasso RSL GX TLR",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45432",
"name": "Llanta de Grava Bontrager Girona Pro TLR",
"price": "949.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31550",
"name": "Llanta Bontrager LT4 Expert Reflective para Ebike",
"price": "949.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37430",
"name": "Bontrager GR0 Comp Gravel Tire",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}