if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "49580",
"name": "Powerfly FS 9 Equipped Gen 2 - 2022, Small",
"price": "3699.99",
"brand": "Trek",
"category": "Diamant e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49592",
"name": "Domane+ ALR - 2022, 58cm",
"price": "2999.99",
"brand": "Trek",
"category": "Diamant e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49635",
"name": "Fuel EXe 9.7 - 2023, Small",
"price": "4599.99",
"brand": "Trek",
"category": "Diamant e-bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "49536",
"name": "Domane+ LT 7 Gen 1 - 2021, 60cm",
"price": "3999.99",
"brand": "Trek",
"category": "Diamant e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}