if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33774",
"name": "Sacoche de selle Electra",
"price": "15.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33610",
"name": "Sacoche de selle avec rabat auto-agrippant Electra Andi",
"price": "15.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33611",
"name": "Sacoche de selle avec rabat Electra Washi",
"price": "15.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35894",
"name": "Sacoche de cintre Electra Gnome",
"price": "12.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33614",
"name": "Sacoche de cintre Electra Sun Shimmer",
"price": "12.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_yellow",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33613",
"name": "Sacoche de cintre Electra ECB 3000",
"price": "12.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "greylight_white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33615",
"name": "Sacoche de cintre Electra Graffiti Drip",
"price": "12.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "blue_redlight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35895",
"name": "Sacoche de cintre Electra Tutti Frutti",
"price": "12.5",
"brand": "Electra",
"category": "Bike bags",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}