if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "89.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28142",
"name": "Luce posteriore Electra Pixeo XD Dynamo con supporto parafango 2800 mm",
"price": "19.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "red_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25656",
"name": "Luce posteriore per e-bike Electra Nr.9 XE",
"price": "17.49",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31092",
"name": "Luce posteriore per e-bike Spanninga Presto EX Guard",
"price": "12.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12861",
"name": "Luce anteriore Electra Amsterdam Royal 8i",
"price": "34.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31091",
"name": "Luce anteriore per e-bike Spanninga Axendo XE 80",
"price": "34.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25645",
"name": "Luce anteriore per e-bike Electra Swingo XE",
"price": "22.49",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "27172",
"name": "Electra Café Moto Go! Supporto luce sella",
"price": "17.49",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42250",
"name": "Electra PVC Light Wire Sleeve",
"price": "3.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}