if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "1899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}