if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "67875",
"name": "Garmin Forerunner 970 Smartwatch",
"price": "1099.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "67876",
"name": "Garmin Forerunner 570 Smartwatch",
"price": "799.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "67874",
"name": "Garmin HRM 600 Heart Rate Monitor",
"price": "249.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "78290",
"name": "Garmin HRM 200 Heart Rate Monitor",
"price": "119.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48875",
"name": "Smartwatch Garmin Forerunner 165",
"price": "279.99",
"brand": "Garmin",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21492",
"name": "Bontrager Softstrap Heart Rate Belt",
"price": "58.98",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14602",
"name": "Ceinture cardio Bontrager ANT+/BLE Softstrap",
"price": "54.93",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}