if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41642",
"name": "Procaliber 9.6",
"price": "4499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "3999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24503",
"name": "Procaliber SL Frameset",
"price": "3711.5",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}