if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "23935",
"name": "Cheng Shin Kids' + MTB Tire",
"price": "39.99",
"brand": "Cheng Shin",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13976",
"name": "Pneu VTT enfant Bontrager XR1 Comp",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26816",
"name": "Pneu VTT Bontrager XR1 Enfants",
"price": "32.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "11461",
"name": "Pneu route enfant Bontrager Dialed",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}