if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "41757",
"name": "Émonda SLR 7 AXS",
"price": "14299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35487",
"name": "Émonda SLR 7",
"price": "12199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37314",
"name": "Émonda SLR 6",
"price": "11699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "11549.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35715",
"name": "Émonda SLR 9",
"price": "18999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "17999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}