if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "44791",
"name": "Llanta MTB Bontrager Galbraith RSL SE TLR",
"price": "1499.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44588",
"name": "Llanta MTB Bontrager Brevard RSL SE TLR",
"price": "1499.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13586",
"name": "Llanta MTB SE4 Team Issue TLR Bontrager",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34494",
"name": "Llanta MTB SE6 Team Issue TLR Bontrager",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34493",
"name": "Llanta MTB Bontrager SE5 Team Issue TLR",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}