if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44987",
"name": "Trek 2024 Marlin+ Headset Bearings",
"price": "64.99",
"brand": "FSA",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10364",
"name": "Trek 5900/Klein QPro Headset Parts",
"price": "35.99",
"brand": "Klein",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35971",
"name": "Electra Townie Commute Go! Locking Headset",
"price": "33.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26259",
"name": "Electra Townie Semi-Integrated Zero-Stack Threaded Headset",
"price": "32.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21507",
"name": "Electra Townie Headset Covers",
"price": "27.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41764",
"name": "Electra 1-1/8" Threadless External Cup Headset",
"price": "19.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35972",
"name": "Electra Cruiser Go! Threaded Headset",
"price": "19.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "42022",
"name": "Trek-Diamant FX Headset Split Ring",
"price": "15.99",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "28913",
"name": "FSA Oversized Headset Bearing",
"price": "15.99",
"brand": "FSA",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42023",
"name": "Trek-Diamant FX Headset Top Cover",
"price": "7.99",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41156",
"name": "Trek-Diamant 1.5" 36-Degree 49mm OD Headset Crown Race",
"price": "7.99",
"brand": "Trek-Diamant",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}