if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "36026",
"name": "Trek Solstice Mips Bike Helmet",
"price": "129.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34590",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "499.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40251",
"name": "Trek Circuit WaveCel Helmet",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45107",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "279.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36029",
"name": "Trek Solstice Bike Helmet",
"price": "79.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37125",
"name": "Trek Ballista Mips Road Bike Helmet",
"price": "359.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36950",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "219.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34593",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "269.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "21812",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "119.95",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "25360",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "399.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "orange",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "26789",
"name": "Bontrager Blaze WaveCel LTD Mountain Bike Helmet",
"price": "399.95",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "31566",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "259.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "21799",
"name": "Bontrager Rally Mips Mountain Bike Helmet",
"price": "249.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "25369",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "299.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "14318",
"name": "Electra Lifestyle Lux Solid Color Helmet",
"price": "159.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "greylight",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "34334",
"name": "Electra Honeycomb Lifestyle Lux Bike Helmet",
"price": "149.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellow",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35961",
"name": "Electra Ziggy Lifestyle Helmet",
"price": "89.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "34306",
"name": "Electra EBC 3000 Lifestyle Bike Helmet",
"price": "89.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "32161",
"name": "Electra Lifestyle Bike Helmet",
"price": "79.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 19
}
]
}
});
} else {
console.log("dataLayer");
}