if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36952",
"name": "Casco Trek para Ciclismo Starvos WaveCel",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31567",
"name": "Casco para Bicicleta Bontrager Starvos WaveCel",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30485",
"name": "Casco para Bicicleta Bontrager Tyro para Niños",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_bluelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31204",
"name": "Casco para Bicicleta Bontrager Tyro Juvenil",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42203",
"name": "Casco Juvenil para Bicis Trek Tyro",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "orangevisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30488",
"name": "Casco para Bicicleta Bontrager Little Dipper para Niños",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}