if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37109",
"name": "Gants de vélo unisexes pour enfants de Trek",
"price": "34.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37110",
"name": "Gants VTT unisexe Trek Evoke pour enfants",
"price": "32.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33311",
"name": "100% Ridecamp Youth Mountain Bike Glove",
"price": "24.99",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22489",
"name": "Gants cyclistes Bontrager Enfant",
"price": "13.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47420",
"name": "Fox Racing Ranger Youth Mountain Bike Glove",
"price": "43.95",
"brand": "Fox Racing",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}