if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "44791",
"name": "Bontrager Galbraith RSL SE TLR MTB Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44588",
"name": "Bontrager Brevard RSL SE TLR MTB Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44490",
"name": "Bontrager Gunnison RSL XT TLR MTB Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44488",
"name": "Bontrager Montrose RSL XT TLR MTB Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45431",
"name": "Bontrager Brevard RSL XT TLR MTB Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34494",
"name": "Bontrager SE6 Team Issue TLR MTB Tyre",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34493",
"name": "Bontrager SE5 Team Issue TLR MTB Tyre",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "13586",
"name": "Bontrager SE4 Team Issue TLR MTB Tyre",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}