if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35298",
"name": "Domane SL 5 gen 3",
"price": "3249.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35303",
"name": "Domane SL 6 gen 3",
"price": "3224.25",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36149",
"name": "Domane SL 5 gen 4",
"price": "2999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37304",
"name": "Domane RSL frameset gen 4",
"price": "5299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33101",
"name": "Domane SLR Disc frameset Gen 3",
"price": "3799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35073",
"name": "Domane SL Disc frameset gen 3",
"price": "2599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "949.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "17407",
"name": "Domane SLR frameset",
"price": "2699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}