if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "89.99",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24720",
"name": "Bontrager Velocis Softshell Cycling Glove",
"price": "169.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"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": "34506",
"name": "Bontrager Circuit Full Finger Twin Gel Cycling Gloves",
"price": "89.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "27193",
"name": "Bontrager Quantum Full-finger Cycling Gloves",
"price": "69.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22827",
"name": "Bontrager Evoke Women’s Mountain Bike Gloves",
"price": "69.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "bluelight_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22824",
"name": "Bontrager Evoke Mountain Bike Gloves",
"price": "69.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "bluelight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "69.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}