if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "49944",
"name": "Checkpoint ALR 3 Gen 3",
"price": "1159.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49946",
"name": "Checkpoint ALR 5 Gen 3",
"price": "1779.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bluelight_teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49973",
"name": "Checkpoint ALR 4 Gen 3",
"price": "1339.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33086",
"name": "Domane AL 5 Gen 3",
"price": "1699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "809.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "57659",
"name": "Quadro Checkpoint ALR Gen 3",
"price": "619.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bronze",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}