if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "254.97",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "114.97",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30763",
"name": "Jeu de feux pour vélo de ville Bontrager Ion Comp R/Flare R",
"price": "109.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41450",
"name": "Kit de feux Ion 200 RT / Flare RT",
"price": "174.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44447",
"name": "Ensemble de feux Ion 50 R/Flare R Metro",
"price": "59.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41452",
"name": "Kit de feux Trek Ion Pro RT/Flare RT",
"price": "264.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41443",
"name": "Kit de feux Trek Ion 100 R/Flare R City",
"price": "104.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37144",
"name": "Knog Blinder Square Twinpack Bike Light Set",
"price": "97.5",
"brand": "Knog",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37143",
"name": "Knog Blinder Mini Chippy Twinpack Bike Light Set",
"price": "70.0",
"brand": "Knog",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32356",
"name": "Ensemble éclairages Ion 120/Flare 1 Bontrager",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "129.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}