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": "36293",
"name": "Trek Vintage Logo Hoodie",
"price": "67.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37320",
"name": "Trek Go By Bike Hoodie",
"price": "67.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41971",
"name": "Trek Chain Stitch Unisex Hoodie",
"price": "59.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34760",
"name": "Trek USA Stamp Long-Sleeve T-shirt",
"price": "31.49",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34749",
"name": "Trek Bicycle Script Hoodie",
"price": "67.49",
"brand": "BCycle",
"category": "Casual sweatshirts & hoodies",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}