if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "18499.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41349",
"name": "Checkpoint SLR 7 AXS",
"price": "12999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellowlight_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35293",
"name": "Checkpoint SLR 6 AXS",
"price": "11999.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "11199.99",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}