if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "90410",
"name": "Trek Classic Logo Pro Collar Polo",
"price": "59.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "90408",
"name": "Trek White/Dark Logo Pro Sweatshirt",
"price": "79.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "90406",
"name": "Trek Dark/Dark Logo Pro T-Shirt",
"price": "34.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "57020",
"name": "T-shirt Trek Monochromatic",
"price": "24.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "81631",
"name": "T-shirt con logo Rapha da uomo",
"price": "65.0",
"brand": "Rapha",
"category": "T-Shirts",
"variant": "black_white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "80796",
"name": "T-shirt Fox Racing Trek x Unbroken Team",
"price": "29.99",
"brand": "Fox Racing",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}