if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "48606",
"name": "Rapha Women's Pro Team Lightweight Long Sleeve Cycling Jersey",
"price": "275.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "brown",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37095",
"name": "Trek Quantum Women's Fitness Bike Shorts",
"price": "199.99",
"brand": "Trek",
"category": "Women's fitness & commuter apparel",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}