if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "30485",
"name": "Capacete para ciclismo infantil Tyro Bontrager",
"price": "435.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_bluelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "30488",
"name": "Capacete infantil Little Dipper Bontrager",
"price": "275.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36952",
"name": "Capacete para ciclismo Trek Starvos WaveCel",
"price": "945.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31567",
"name": "Capacete para ciclismo Starvos WaveCel Bontrager",
"price": "616.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42203",
"name": "Capacete Infantil para Ciclismo Tyro Trek ",
"price": "455.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "orangevisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40264",
"name": "Capacete infantil para ciclismo Trek Little Dipper com MIPS",
"price": "435.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}