if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "27134",
"name": "Cales pour pédales automatiques Bontrager VTT",
"price": "23.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27132",
"name": "Jeu de cales pour pédale route Bontrager automatique 6°",
"price": "21.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32999",
"name": "Jeu de cales pour pédale route Bontrager automatique 9°",
"price": "21.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23016",
"name": "Bontrager Solstice, Vella, Espresso, & Cortado Shoe SPD Plugs",
"price": "10.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44930",
"name": "Bontrager SSR Shoe SPD Plugs",
"price": "10.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22006",
"name": "Crankbrothers Standard Release Cleat Set",
"price": "35.99",
"brand": "Crankbrothers",
"category": "Bike pedals",
"variant": "gold",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}