if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "34613",
"name": "Trek Solstice Mips Children's Bike Helmet",
"price": "101.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36033",
"name": "Trek Solstice Mips Youth Bike Helmet",
"price": "101.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36950",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "144.49",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42202",
"name": "Trek Tyro Children’s Bike Helmet",
"price": "67.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42205",
"name": "Trek Tyro Youth Bike Helmet",
"price": "67.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40380",
"name": "Trek Little Dipper Children’s Bike Helmet",
"price": "67.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30487",
"name": "Bontrager Tyro Children's Bike Helmet",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "31560",
"name": "Bontrager Jet WaveCel Youth Bike Helmet",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "31557",
"name": "Bontrager Jet WaveCel Children's Bike Helmet",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_greenvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}