if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "179.99",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"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": "24973",
"name": "Bontrager Circuit Women's Cycling Wind Vest",
"price": "129.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27591",
"name": "Santini Trek-Segafredo Team Lifestyle Vest",
"price": "299.95",
"brand": "Santini",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}