if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "45430",
"name": "Electra Townie Go! 7D 26" 35mm Wide Rim",
"price": "39.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37978",
"name": "Electra Cruiser Go! 26" Rim",
"price": "34.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37977",
"name": "Electra Cruiser Go! 27.5" Rim",
"price": "34.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45148",
"name": "Electra Loft Go! 7D 36H 700c Rim",
"price": "29.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45422",
"name": "Electra Ponto Go! 20" Rim",
"price": "24.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29220",
"name": "Electra Café Moto Go! Jante 26"",
"price": "22.49",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32434",
"name": "Electra Townie Go! 27.5" Rim",
"price": "22.49",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32433",
"name": "Electra Townie Go! 26" Rim",
"price": "19.99",
"brand": "Electra",
"category": "Bike rims & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}