if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "49691",
"name": "Trek Right Stacked Unisex Hoodie",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49118",
"name": "Trek Left Stacked Unisex Hoodie",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34759",
"name": "Trek Happy Bike T-shirt",
"price": "29.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36291",
"name": "Trek Original Women's T-shirt",
"price": "21.24",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32582",
"name": "Trek Roadie T-Shirt",
"price": "20.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36293",
"name": "Trek Vintage Logo 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": "34749",
"name": "Trek Bicycle Script Hoodie",
"price": "67.49",
"brand": "BCycle",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}