if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36952",
"name": "Capacete para ciclismo Trek Starvos WaveCel",
"price": "800.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40264",
"name": "Capacete infantil para ciclismo Trek Little Dipper com MIPS",
"price": "500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31567",
"name": "Capacete para ciclismo Starvos WaveCel Bontrager",
"price": "425.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42203",
"name": "Capacete Infantil para Ciclismo Tyro Trek ",
"price": "425.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "orangevisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37109",
"name": "Luva Trek Infantil Unisex Bike",
"price": "225.0",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}