if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37123",
"name": "Casco Ballista para Bici de Carrera con Mips de Trek",
"price": "399.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34588",
"name": "Casco Velocis para Bici de Carrera de Trek con Protección Mips",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40249",
"name": "Casco Trek Circuit Wavecel",
"price": "239.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36952",
"name": "Casco Trek para Ciclismo Starvos WaveCel",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25365",
"name": "Casco para Bici de Carrera Bontrager XXX WaveCel",
"price": "389.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14897",
"name": "Casco para Bici de Carrera Bontrager Velocis Mips",
"price": "279.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25362",
"name": "Casco de Ciclismo Bontrager Specter WaveCel",
"price": "212.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "21764",
"name": "Casco de Ciclismo Bontrager Circuit Mips",
"price": "212.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34591",
"name": "Casco para Bici de Carrera Bontrager Circuit WaveCel",
"price": "212.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "31567",
"name": "Casco para Bicicleta Bontrager Starvos WaveCel",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "78.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}