if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "49630",
"name": "Powerfly FS 4 Equipped Gen 3 - 2024, Medium",
"price": "4199.99",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49631",
"name": "Powerfly FS 4 Equipped Gen 3 - 2024, Medium",
"price": "4199.99",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49633",
"name": "Powerfly FS 7 Gen 3 - 2024, Medium",
"price": "3899.99",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "49580",
"name": "Powerfly FS 9 Equipped Gen 2 - 2022, Small",
"price": "3699.99",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "49592",
"name": "Domane+ ALR - 2022, 58cm",
"price": "2999.99",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "49536",
"name": "Domane+ LT 7 Gen 1 - 2021, 60cm",
"price": "3999.99",
"brand": "Trek",
"category": "Pre-owned Electric Bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}