if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36846",
"name": "Precaliber 24 de 8 velocidades e suspensão",
"price": "4000.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36268",
"name": "Precaliber 20 de 7 velocidades",
"price": "3850.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "28107",
"name": "Precaliber 20 de 7 velocidades",
"price": "3699.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36965",
"name": "Precaliber 24 de 8 velocidades",
"price": "3599.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "2950.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28292",
"name": "Precaliber 16",
"price": "2849.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "2849.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "26793",
"name": "Precaliber 12",
"price": "2799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "26794",
"name": "Precaliber 12",
"price": "2799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}