if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "39.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36950",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "219.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31560",
"name": "Bontrager Jet WaveCel Youth Bike Helmet",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white_bluelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31557",
"name": "Bontrager Jet WaveCel Children's Bike Helmet",
"price": "179.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkdark_purplelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34613",
"name": "Trek Solstice Mips Children's Bike Helmet",
"price": "129.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36033",
"name": "Trek Solstice Mips Youth Bike Helmet",
"price": "129.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30487",
"name": "Bontrager Tyro Children's Bike Helmet",
"price": "99.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40380",
"name": "Trek Little Dipper Children’s Bike Helmet",
"price": "89.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "42202",
"name": "Trek Tyro Children’s Bike Helmet",
"price": "89.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42205",
"name": "Trek Tyro Youth Bike Helmet",
"price": "89.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37087",
"name": "Trek Evoke Youth Mountain Bike Shorts",
"price": "189.99",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37086",
"name": "Trek Evoke Youth Mountain Bike Tech Tee",
"price": "59.99",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "greendark",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}