if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"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": 1
}
,
{
"id": "34129",
"name": "Bontrager Evoke Mountain Bike Shoes",
"price": "279.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22824",
"name": "Bontrager Evoke Mountain Bike Gloves",
"price": "69.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "bluelight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}