if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "40251",
"name": "Trek Circuit WaveCel Helmet",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45107",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "279.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36950",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "219.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36947",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "279.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34593",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "269.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25360",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "399.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26789",
"name": "Bontrager Blaze WaveCel LTD Mountain Bike Helmet",
"price": "399.95",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31566",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "259.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "25369",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "299.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "31560",
"name": "Bontrager Jet WaveCel Youth Bike Helmet",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "31557",
"name": "Bontrager Jet WaveCel Children's Bike Helmet",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkdark_purplelight",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}