if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "69315",
"name": "Pirelli P ZERO SmarTUBE RS Presta Valve Innertube",
"price": "51.99",
"brand": "Pirelli",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "yellow",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "46127",
"name": "Kuat V4 1.25˝ Hitch Lock",
"price": "49.0",
"brand": "Kuat",
"category": "Bike car racks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "46128",
"name": "Kuat V4 2˝ Hitch Lock",
"price": "49.0",
"brand": "Kuat",
"category": "Bike car racks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "45473",
"name": "Hyena Freehub Axle/Nut Washer Kit V4",
"price": "26.99",
"brand": "Trek",
"category": "Bike hubs & hub parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "10762",
"name": "Tektro CL530-RS Brake Lever",
"price": "20.99",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}