if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "37422",
"name": "Powerfly FS 4 Gen 3",
"price": "8499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35191",
"name": "Rail 5 Gen 2",
"price": "8499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36426",
"name": "Fuel EXe 9.7",
"price": "7699.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36731",
"name": "Slash 8 Gen 5",
"price": "6899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37477",
"name": "Powerfly 4 Gen 4",
"price": "6499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36348",
"name": "Fuel EX 8 Gen 6",
"price": "6499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32846",
"name": "Powerfly 4 Gen 3",
"price": "5999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "5599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "4299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "4099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "3999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36391",
"name": "Dual Sport+ 2 Stagger",
"price": "3899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36390",
"name": "Dual Sport+ 2",
"price": "3899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "3799.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "2399.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "1599.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36823",
"name": "Dual Sport 2 Gen 5",
"price": "1249.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36453",
"name": "Verve 2 Gen 4",
"price": "1199.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36824",
"name": "Dual Sport 1 Gen 5",
"price": "1049.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36811",
"name": "Verve 1",
"price": "999.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "36450",
"name": "Verve 1 Lowstep Gen 4",
"price": "999.0",
"brand": "Trek",
"category": "Comfort & recreation bikes",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_teal",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}