if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "90411",
"name": "Trek Logo Pro Insulated Hoodie",
"price": "199.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49691",
"name": "Sweat à capuche Trek Right Stacked Unisexe",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greenlight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "90408",
"name": "Trek White/Dark Logo Pro Sweatshirt",
"price": "79.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "90409",
"name": "Trek Dark Logo Pro Sweatshirt",
"price": "79.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "90410",
"name": "Trek Classic Logo Pro Collar Polo",
"price": "59.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "90406",
"name": "Trek Dark/Dark Logo Pro T-Shirt",
"price": "34.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "90405",
"name": "Trek White/Dark Logo Pro T-Shirt",
"price": "34.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "57020",
"name": "T-shirt Trek monochrome",
"price": "24.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "49118",
"name": "Sweat à capuche Trek Left Stacked Unisexe",
"price": "69.99",
"brand": "Trek",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}