if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "26302",
"name": "Delta Monet Single Bike Rack with Shelf",
"price": "74.99",
"brand": "Delta",
"category": "Bike storage",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "26305",
"name": "Delta Pablo Two Bike Storage Rack With Shelf",
"price": "74.99",
"brand": "Delta",
"category": "Bike storage",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47323",
"name": "Rapha Pro Team Cycling Mitts",
"price": "95.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "47324",
"name": "Rapha Core Cycling Mitts",
"price": "62.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41429",
"name": "PEARL iZUMi Attack AmFIB Lite Women's Jacket",
"price": "199.99",
"brand": "PEARL iZUMi",
"category": "Cycling jackets",
"variant": "purple",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "41417",
"name": "PEARL iZUMi Attack AmFIB Lite Jacket",
"price": "199.99",
"brand": "PEARL iZUMi",
"category": "Cycling jackets",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}