if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "34133",
"name": "Chaussure de cyclisme Trek Velocis Route",
"price": "334.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25000",
"name": "Chaussures vélo route Bontrager XXX",
"price": "359.93",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22483",
"name": "Chaussures vélo route Bontrager Velocis",
"price": "229.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22484",
"name": "Chaussures vélo route Bontrager Velocis pour femmes",
"price": "169.93",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13675",
"name": "Chaussures route Bontrager Ballista",
"price": "134.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}