if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "49611",
"name": "Verve 2 - 2023, Large",
"price": "449.99",
"brand": "Trek",
"category": "Diamant Trekking®",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35866",
"name": "Marlin Gen 2 Frameset",
"price": "449.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49616",
"name": "Verve 2 Disc Lowstep - 2022, Medium",
"price": "429.99",
"brand": "Trek",
"category": "Diamant Trekking®",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "49587",
"name": "Verve 1 Disc Lowstep - 2022, Large",
"price": "399.99",
"brand": "Trek",
"category": "Diamant Trekking®",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "49588",
"name": "Verve 1 Disc Lowstep - 2022, Large",
"price": "399.99",
"brand": "Trek",
"category": "Diamant Trekking®",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "49538",
"name": "Verve 1 Disc Lowstep - 2022, Large",
"price": "399.99",
"brand": "Trek",
"category": "Diamant Trekking®",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}