if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "11638",
"name": "Bontrager Race Lite Ergo Bar Ends",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "02558",
"name": "Bontrager Race Bar Ends",
"price": "36.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "02563",
"name": "Bontrager Full Bend Bar Ends",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22158",
"name": "Bontrager Race Lite Ergo Bar Ends IsoZone Bar Adapters",
"price": "10.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "10311",
"name": "Bontrager IsoZone Handlebar Plugs",
"price": "3.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}