if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "45108",
"name": "Casco para bici de montaña Trek Blaze WaveCel",
"price": "5999.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45105",
"name": "Casco para Ciclismo de Montaña Rally WaveCel de Trek",
"price": "3599.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45079",
"name": "Casco para Ciclismo de Montaña Quantum WaveCel de Trek",
"price": "3299.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30466",
"name": "Casco para Bicicleta Bontrager Solstice Mips",
"price": "1229.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21848",
"name": "Casco para Bicicleta Bontrager Quantum Mips",
"price": "2479.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "749.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36024",
"name": "Casco para Bici Trek Solstice Mips",
"price": "1479.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}