if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "36026",
"name": "Trek Solstice Mips Bike Helmet",
"price": "119.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34593",
"name": "Bontrager Circuit WaveCel Road Bike Helmet",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25360",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "349.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31566",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25369",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "149.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}