if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "1799.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "999.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1699.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "1349.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "teal_bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1999.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "3899.99",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35112",
"name": "X-Caliber 9",
"price": "2799.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "2399.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36969",
"name": "Marlin 8 Gen 3",
"price": "1899.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "1499.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "1199.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35066",
"name": "Marlin 6 Gen 2",
"price": "949.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "29759",
"name": "Marlin 4 Gen 2",
"price": "799.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33491",
"name": "Roscoe 24",
"price": "769.99",
"brand": "Trek",
"category": "Kids' mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "749.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_teal",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}