if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36951",
"name": "Capacete de Estrada Trek Starvos WaveCel",
"price": "83.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31568",
"name": "Capacete Bontrager Starvos WaveCel",
"price": "83.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31556",
"name": "Capacete de Criança Bontrager Jet WaveCel",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31559",
"name": "Capacete Juvenil Bontrager Jet WaveCel",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30486",
"name": "Capacete de Criança Bontrager Tyro",
"price": "38.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31205",
"name": "Capacete Juvenil Bontrager Tyro",
"price": "38.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "orangevisibility_yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30489",
"name": "Capacete Bontrager Little Dipper Criança",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}