if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "42298",
"name": "Pirelli SmarTUBE Inner Tube Patch Kit",
"price": "11.49",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "yellow",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25275",
"name": "Schwalbe G-One Road Tire",
"price": "233.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41159",
"name": "Schwalbe Pick-Up Addix-E Reflective Twinskin Cargo Bike Tire",
"price": "158.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "13061",
"name": "Kenda Kontender 26" Tire",
"price": "122.99",
"brand": "Kenda",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12722",
"name": "Electra Cruiser Vintage 26" Diamond Tyre",
"price": "92.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23935",
"name": "Bontrager Kids' Midfat MTB Tyres",
"price": "89.99",
"brand": "Cheng Shin",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12716",
"name": "Electra Cruiser Fatti-O 24" Tyre",
"price": "50.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "12712",
"name": "Electra Amsterdam Hybrid 700c Tyre",
"price": "49.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "13072",
"name": "Electra Loft 700c Tyre",
"price": "44.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "21678",
"name": "Electra Lux Fat 26" Tyre",
"price": "201.99",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "12713",
"name": "Schwalbe Fat Frank Cruiser Tire",
"price": "97.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}