if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34654",
"name": "Trek Solstice Women's Cycling Jersey",
"price": "29.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37083",
"name": "Trek Evoke Women's Mountain Bike Tech Tee",
"price": "23.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "79.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "69.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greendark_teal",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "59.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35816",
"name": "Trek Circuit Women's Cycling Jersey",
"price": "59.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}