if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41070",
"name": "Saris MHS 3+1 Hitch Base 2" Hitch Rack",
"price": "234.93",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32496",
"name": "Saris Mag+ Trainer",
"price": "174.93",
"brand": "Saris",
"category": "Bike trainers & rollers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30408",
"name": "Saris Freedom SuperClamp Hitch Rack Cargo Accessory",
"price": "134.93",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33955",
"name": "Saris Trunk Rack Lock",
"price": "67.99",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32500",
"name": "Saris Trainer Climbing Riser Block",
"price": "26.93",
"brand": "Saris",
"category": "Bike trainers & rollers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32511",
"name": "Saris Smart Trainer USB Adapter",
"price": "24.93",
"brand": "Saris",
"category": "Bike trainers & rollers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41075",
"name": "Saris Bones Strap Management End Caps",
"price": "12.93",
"brand": "Saris",
"category": "Bike car racks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}