if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "48464",
"name": "Rail+ 8 Gen 5",
"price": "7499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47422",
"name": "Cruzee Balance Bike",
"price": "249.99",
"brand": "Cruzee",
"category": "Bikes for toddlers",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40893",
"name": "Allant+ 7 Gen 2",
"price": "3999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40894",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "3999.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "59699",
"name": "Roscoe 7 Gen 4",
"price": "1899.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36265",
"name": "Precaliber 12",
"price": "349.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "63914",
"name": "Speed Concept SLR Frame Set",
"price": "7499.99",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "59667",
"name": "Madone SLR Gen 8 Frame Set",
"price": "7299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "94601",
"name": "Domane SLR Gen 5 Frame Set",
"price": "4999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35746",
"name": "Speed Concept TT Frame Set",
"price": "8300.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "47997",
"name": "Boone Disc Frame set",
"price": "4750.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41575",
"name": "Madone SLR Frame Set Gen 6",
"price": "6499.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32693",
"name": "Checkpoint SL Frame Set",
"price": "3411.75",
"brand": "Trek",
"category": "Checkpoint",
"variant": "reddark",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}