if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36025",
"name": "Casque cycliste Trek Solstice Mips",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36028",
"name": "Casque cycliste Trek Solstice",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30467",
"name": "Casque Bontrager Solstice Mips",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30482",
"name": "Casque Bontrager Solstice",
"price": "31.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33678",
"name": "Chaussures vélo route Bontrager Solstice",
"price": "79.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34513",
"name": "Gants de cyclisme Bontrager Solstice Gel pour femmes",
"price": "23.09",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34507",
"name": "Gants pour cyclistes Bontrager Solstice Gel",
"price": "23.09",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}