if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37319",
"name": "Trek Script Crewneck Sweatshirt",
"price": "37.5",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40642",
"name": "Trek Bicycle Co 5 Panel Hat",
"price": "29.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37339",
"name": "Trek Circle Beanie",
"price": "20.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41983",
"name": "Trek Label Fisherman Beanie",
"price": "17.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41980",
"name": "Trek Oh Deer Beanie",
"price": "17.99",
"brand": "Trek",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40149",
"name": "Santini Trek-Segafredo Women’s Team T-Shirt",
"price": "15.0",
"brand": "Santini",
"category": "T-Shirts",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40146",
"name": "Santini Trek-Segafredo Men’s Team T-Shirt",
"price": "15.0",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45019",
"name": "100% Trek Factory Racing Hoodie",
"price": "74.99",
"brand": "100%",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "45021",
"name": "100% Trek Factory Racing 5 Panel Hat",
"price": "34.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45022",
"name": "100% Trek Factory Racing Pom Beanie",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "45020",
"name": "100% Trek Factory Racing Trucker Hat",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "45023",
"name": "100% Trek Factory Racing Cuff Beanie",
"price": "29.99",
"brand": "100%",
"category": "Casual caps & hats",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}