if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "22489",
"name": "Guante de ciclismo para niños de Bontrager",
"price": "25.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31204",
"name": "Casco para Bicicleta Bontrager Tyro Juvenil",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkvisibility_black",
"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": "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": 4
}
,
{
"id": "36952",
"name": "Casco Trek para Ciclismo Starvos WaveCel",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31567",
"name": "Casco para Bicicleta Bontrager Starvos WaveCel",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42203",
"name": "Casco Juvenil para Bicis Trek Tyro",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "orangevisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}