if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "90408",
"name": "Trek White/Dark Logo Pro Sweatshirt",
"price": "80.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "90410",
"name": "Trek Classic Logo Pro Collar Polo",
"price": "60.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "90406",
"name": "Trek Dark/Dark Logo Pro T-Shirt",
"price": "35.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "57020",
"name": "Trek Monochromatic T-shirt",
"price": "25.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34759",
"name": "Trek Happy Bike T-shirt",
"price": "30.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37326",
"name": "Trek Feel Good T-Shirt",
"price": "27.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32582",
"name": "Trek Roadie T-Shirt",
"price": "21.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "81631",
"name": "Rapha Men's Logo T-Shirt",
"price": "65.0",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "black_white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "80796",
"name": "Fox Racing Trek x Unbroken Team T-shirt",
"price": "30.0",
"brand": "Fox Racing",
"category": "T-Shirts",
"variant": "black",
"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
}
]
}
});
} else {
console.log("dataLayer");
}