if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34759",
"name": "Trek Happy Bike T-shirt",
"price": "29.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37326",
"name": "Trek Feel Good T-Shirt",
"price": "26.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37324",
"name": "Trek Ride Club T-Shirt",
"price": "24.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32582",
"name": "Trek Roadie T-Shirt",
"price": "20.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36293",
"name": "Trek Vintage Logo Hoodie",
"price": "67.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37320",
"name": "Trek Go By Bike Hoodie",
"price": "67.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "59.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34760",
"name": "Trek USA Stamp Long-Sleeve T-shirt",
"price": "31.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40152",
"name": "Santini Trek-Segafredo Men's Team Polo",
"price": "27.5",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35007",
"name": "Santini Trek-Segafredo Men's Team T-Shirt",
"price": "6.0",
"brand": "Santini",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "34749",
"name": "Trek Bicycle Script Hoodie",
"price": "67.49",
"brand": "BCycle",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}