if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "34590",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "399.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37125",
"name": "Trek Ballista Mips Road Bike Helmet",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40251",
"name": "Trek Circuit WaveCel Helmet",
"price": "229.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36026",
"name": "Trek Solstice Mips Bike Helmet",
"price": "119.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36029",
"name": "Trek Solstice Bike Helmet",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48920",
"name": "Oakley ARO5 Race Helmet",
"price": "264.95",
"brand": "OAKLEY",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25366",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}