if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "17407",
"name": "Domane SLR frameset",
"price": "2699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35073",
"name": "Domane SL Disc frameset gen 3",
"price": "2599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23644",
"name": "Émonda ALR Disc frameset",
"price": "1249.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34200",
"name": "520 Disc frameset",
"price": "669.0",
"brand": "Trek",
"category": "520",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}