if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36259",
"name": "Unior Multitool EURO7",
"price": "27.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36258",
"name": "Unior Multitool EURO6",
"price": "15.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34879",
"name": "KMC Chain Aid",
"price": "7.99",
"brand": "KMC",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "00626",
"name": "Crankbrothers Speedier Tire Lever",
"price": "7.99",
"brand": "Crankbrothers",
"category": "Bike tires",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}