if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "2799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37299",
"name": "Émonda ALR Disc Frameset",
"price": "1499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23613",
"name": "Émonda ALR Frameset",
"price": "1419.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23644",
"name": "Émonda ALR Disc Frameset",
"price": "1419.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}