if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "44490",
"name": "Bontrager Gunnison RSL XT TLR MTB Tire",
"price": "94.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44488",
"name": "Bontrager Montrose RSL XT TLR MTB Tire",
"price": "94.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34494",
"name": "Bontrager SE6 Team Issue TLR MTB Tire",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34493",
"name": "Bontrager SE5 Team Issue TLR MTB Tire",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24351",
"name": "Bontrager SE2 Team Issue TLR MTB Tire",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13586",
"name": "Bontrager SE4 Team Issue TLR MTB Tire",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35331",
"name": "Bontrager SE4 Team Issue TLR MTB Tire - Factory Overstock",
"price": "49.99",
"brand": "Bontrager",
"category": "Factory overstock",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}