if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "44489",
"name": "Bontrager Gunnison Pro XR TLR MTB Tyre",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13586",
"name": "Bontrager SE4 Team Issue TLR MTB Tyre",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13585",
"name": "Bontrager XR4 Team Issue TLR MTB Tyre",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27917",
"name": "Bontrager XR3 Team Issue TLR MTB Tyre",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38227",
"name": "Pirelli Scorpion E-MTB M E-bike Tyre",
"price": "154.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38374",
"name": "Pirelli Scorpion Enduro M MTB Tyre",
"price": "149.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "38364",
"name": "Pirelli Scorpion Enduro R MTB Tyre",
"price": "149.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22118",
"name": "Schwalbe Super Moto-X GreenGuard 27.5" MTB Tire",
"price": "129.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}