if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "22489",
"name": "Gants cyclistes Bontrager Enfant",
"price": "13.93",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31393",
"name": "Petit panier en rotin Electra",
"price": "13.93",
"brand": "Electra",
"category": "Bike baskets",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37382",
"name": "Bidon Trek Voda 444 ml",
"price": "11.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "blue_orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30975",
"name": "Trek Pour enfants Singlespeed Poignées",
"price": "10.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33613",
"name": "Sacoche de cintre Electra ECB 3000",
"price": "10.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "greylight_white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33615",
"name": "Sacoche de cintre Electra Graffiti Drip",
"price": "10.93",
"brand": "Electra",
"category": "Bike bags",
"variant": "blue_redlight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30976",
"name": "Trek Pour enfants Poignées pour changement de vitesse rotatif",
"price": "9.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12278",
"name": "Poignées VTT Trek pour enfants",
"price": "8.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}