if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40277",
"name": "Electra Classic Faux Leather Tool Bag",
"price": "55.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33772",
"name": "Sacoche de selle Electra Charcoal réfléchissant",
"price": "27.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35898",
"name": "Sacoche de selle Electra Ziggy",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40316",
"name": "Sacoche de selle Electra Fern",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33775",
"name": "Sacoche de selle Electra Heather Charcoal",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35899",
"name": "Sacoche de selle Electra Miami",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33774",
"name": "Sacoche de selle Electra",
"price": "15.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_purplelight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33773",
"name": "Sacoche de selle Electra Doodle",
"price": "15.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}