if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37322",
"name": "Tee-shirt Trek Good Ride manches longues",
"price": "26.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36290",
"name": "T-shirt à manches longues logo vintage Trek",
"price": "19.99",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40610",
"name": "Sweat-shirt Ride Free d’Electra",
"price": "54.99",
"brand": "Electra",
"category": "Casual sweatshirts & hoodies",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}