if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37911",
"name": "Trek 2023 Fetch+ 4 Cargo Box Lower Steerer Column Cover",
"price": "3.99",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44970",
"name": "Trek Battery Dock Cover",
"price": "2.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "38243",
"name": "Trek 2022 Speed Concept Handlebar Storage Cover Bolt",
"price": "2.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44972",
"name": "Trek 2024 Marlin+ Motor Access Cover",
"price": "1.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45455",
"name": "Electra Ponto Go! Stem Cover",
"price": "12.99",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31284",
"name": "Trek Allant+/Diamant Zouma Charge Port Cover",
"price": "9.99",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42023",
"name": "Trek-Diamant FX Headset Top Cover",
"price": "5.99",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31272",
"name": "Trek Allant+/Diamant Zouma Supreme+ Range Extender Y-Cable Plug",
"price": "3.99",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "45457",
"name": "Electra Ponto Go! Seatstay Cable Cover",
"price": "2.99",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}