if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37090",
"name": "Sottopantaloncino Trek Troslo",
"price": "31.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32738",
"name": "Salopette corta da ciclismo Trek Velocis",
"price": "99.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34659",
"name": "Salopette corta da ciclismo Trek Solstice",
"price": "59.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32742",
"name": "Salopette corta da ciclismo Trek Circuit",
"price": "79.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37084",
"name": "Pantaloncini da mountain bike Trek Evoke",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32746",
"name": "Pantaloncini da ciclismo Trek Solstice",
"price": "39.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}