if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "47357",
"name": "Rapha Lightweight Short Sleeve Women's Baselayer",
"price": "115.0",
"brand": "Rapha",
"category": "Women's cycling baselayers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}