if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "21718",
"name": "Chaussures vélo route Bontrager Vostra pour femme",
"price": "69.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21729",
"name": "Chaussure de VTT Bontrager Adorn pour femmes",
"price": "54.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44847",
"name": "Chaussures Crankbrothers Mallet BOA",
"price": "264.99",
"brand": "Crankbrothers",
"category": "Mountain bike shoes",
"variant": "black",
"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
}
]
}
});
} else {
console.log("dataLayer");
}