if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35333",
"name": "Domane SL 7 Gen 3",
"price": "5669.1",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"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": "35298",
"name": "Domane SL 5 Gen 3",
"price": "2761.65",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33086",
"name": "Domane AL 5 Gen 3",
"price": "1899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33101",
"name": "Cuadro Domane SLR Disc Gen 3",
"price": "3799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35073",
"name": "Cuadro Domane SL Disc Gen 3",
"price": "2599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}