if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "19999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "15999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "13999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "18999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35746",
"name": "Speed Concept TT Frame Set",
"price": "7950.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35671",
"name": "Speed Concept SLR Frame Set",
"price": "7950.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "14999.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}