if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "48020",
"name": "Speed Concept SLR 9 AXS",
"price": "20699.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41499",
"name": "Speed Concept SLR 7 AXS",
"price": "16299.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35577",
"name": "Speed Concept SLR 7",
"price": "14399.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "20299.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35671",
"name": "Speed Concept SLR Frame Set",
"price": "8600.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35746",
"name": "Speed Concept TT Frame Set",
"price": "8600.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "16199.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35754",
"name": "Speed Concept SLR 6 AXS",
"price": "13999.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "green_black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}