if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32739",
"name": "Trek Velocis Women's Cycling Bib Short",
"price": "109.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37091",
"name": "Trek Trosla Women’s Liner Short",
"price": "31.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32747",
"name": "Trek Solstice Women's Cycling Short",
"price": "42.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34655",
"name": "Trek Solstice Women's Cycling Bib Short",
"price": "64.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37085",
"name": "Trek Evoke Women’s Mountain Bike Short",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32745",
"name": "Trek Circuit Women's Cycling Short",
"price": "64.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32743",
"name": "Trek Circuit Women's Cycling Bib Short",
"price": "84.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}