if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45050",
"name": "100% Airmatic Mountain Bike Pants",
"price": "96.75",
"brand": "100%",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "38225",
"name": "Pirelli Scorpion XC M MTB Tyre",
"price": "55.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38229",
"name": "Pirelli Scorpion XC H MTB Tyre",
"price": "55.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45021",
"name": "100% Trek Factory Racing 5-Panel Hat",
"price": "34.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45022",
"name": "100% Trek Factory Racing Pom Beanie",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31923",
"name": "100% Ridecamp Mountain Bike Gloves",
"price": "24.99",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}