if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "22468",
"name": "Park Tool PMP-3.2 Micro Mini Tire Pump",
"price": "29.99",
"brand": "Park Tool",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28583",
"name": "Portland Design Works Fatty Object CO2 Inflator",
"price": "24.99",
"brand": "Portland Design Works",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "04774",
"name": "SKS Pump Valve Adapter with Chain",
"price": "11.99",
"brand": "SKS",
"category": "Bike pumps & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}