if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "21731",
"name": "Chaussure de VTT Bontrager Flatline pour femmes",
"price": "179.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34790",
"name": "Chaussure de VTT Bontrager Flatline",
"price": "149.97",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21730",
"name": "Chaussure de VTT Bontrager Flatline",
"price": "54.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44819",
"name": "Chaussures Crankbrothers Stamp BOA",
"price": "239.99",
"brand": "Crankbrothers",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46111",
"name": "Fox Racing Union Canvas Flat Mountain Bike Shoe",
"price": "134.96",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44528",
"name": "Fox Racing Union Flat Mountain Bike Shoe",
"price": "134.93",
"brand": "Fox Racing",
"category": "Mountain bike shoes",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}