if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41712",
"name": "Marlin+ 8",
"price": "3999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41017",
"name": "Marlin+ 6",
"price": "2999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40913",
"name": "Dual Sport+ 2 LT",
"price": "2499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41531",
"name": "Fuel EXe 5",
"price": "5499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41552",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "6999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35277",
"name": "Townie Go! 7D Step-Thru",
"price": "1999.99",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37135",
"name": "Rail 7 Gen 3",
"price": "7499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37654",
"name": "Fetch+ 2",
"price": "5499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36140",
"name": "Domane+ AL 5",
"price": "2999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41658",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "12999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36717",
"name": "Domane+ SLR 7",
"price": "9999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41663",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "9999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41653",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "8999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36699",
"name": "Domane+ SLR 6 Pro",
"price": "6999.99",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41524",
"name": "Fuel EXe 9.7",
"price": "6999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "10999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37139",
"name": "Rail 9 Gen 3",
"price": "8499.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "37133",
"name": "Rail 5 Gen 3",
"price": "5999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "30924",
"name": "Allant+ 7",
"price": "5499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37478",
"name": "Powerfly 4 Gen 4",
"price": "4999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35850",
"name": "FX+ 2",
"price": "2499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35851",
"name": "FX+ 2 Stagger",
"price": "2499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36397",
"name": "Dual Sport+ 2 Stagger",
"price": "2499.99",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}