if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "12734",
"name": "Chambre à air à valve Schrader Electra Fatti-O",
"price": "20.99",
"brand": "Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45470",
"name": "Electra Ponto Go! 20" Bicycle Tube",
"price": "23.99",
"brand": "Bontrager-Electra",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}