if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "219.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "89.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30763",
"name": "Set di luci Bontrager Ion Comp R/Flare R City",
"price": "124.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41450",
"name": "Set Trek Ion 200 RT / Flare RT",
"price": "104.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44447",
"name": "Set di luci da ciclismo Trek Ion 50 R - Flare R Metro",
"price": "44.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "08923",
"name": "Set Luci Glo/Ember Bontrager",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41452",
"name": "Set di luci Trek Ion Pro RT/Flare RT",
"price": "189.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41443",
"name": "Set di luci per bici Trek Ion 100 R/Flare R City",
"price": "69.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "89.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}