if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "40251",
"name": "Trek Circuit WaveCel Helmet",
"price": "229.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25369",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36026",
"name": "Trek Solstice Mips Bike Helmet",
"price": "119.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34593",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36950",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36029",
"name": "Trek Solstice Bike Helmet",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "14318",
"name": "Electra Lifestyle Lux Solid Color Helmet",
"price": "79.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34334",
"name": "Electra Honeycomb Lifestyle Lux Bike Helmet",
"price": "79.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellow",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35961",
"name": "Electra Ziggy Lifestyle Helmet",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34306",
"name": "Electra EBC 3000 Lifestyle Bike Helmet",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32161",
"name": "Electra Lifestyle Bike Helmet",
"price": "49.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}