if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "24720",
"name": "Bontrager Velocis Softshell Cycling Glove",
"price": "169.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14821",
"name": "Bontrager Circuit Cycling Wind Vest",
"price": "129.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24721",
"name": "Bontrager Circuit Windshell Cycling Gloves",
"price": "109.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "89.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13980",
"name": "Bontrager H2 Hard-Case Ultimate Reflective Hybrid Tyre",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "79.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "69.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "69.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22817",
"name": "Bontrager UV Sunstop Cycling Arm Cover",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}