if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36846",
"name": "Precaliber 24 com Suspensão de 8 Velocidades",
"price": "329.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36268",
"name": "Precaliber 20 com 7 Velocidades",
"price": "309.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36271",
"name": "Roda Livre Precaliber 20",
"price": "269.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36267",
"name": "Precaliber 16",
"price": "269.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "239.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "17152",
"name": "Precaliber 16 Rapariga FW",
"price": "249.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}