if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37985",
"name": "Bontrager Aeolus RSL TLR Road Tire",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48770",
"name": "Pirelli P Zero TLR RS Road Bike Tire",
"price": "136.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25926",
"name": "Bontrager R3 Hard-Case Lite TLR Road Tire",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45223",
"name": "Pirelli P ZERO Race TLR 4S Road Tire",
"price": "136.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44818",
"name": "Pirelli P Zero Race TLR SL Road Tire",
"price": "126.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38203",
"name": "Pirelli Cinturato Velo TLR Road Tire",
"price": "119.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36230",
"name": "Challenge Strada Pro Handmade Tubeless Road Tire",
"price": "107.99",
"brand": "Challenge",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25275",
"name": "Schwalbe G-One Road Tire",
"price": "119.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}