if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "47092",
"name": "Slash+ 9.7 SLX/XT",
"price": "12999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46220",
"name": "Madone SL 7 Gen 8",
"price": "9499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "6699.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "4999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "14899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36954",
"name": "Fuel EX 9.9 XTR Gen 6",
"price": "14499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36713",
"name": "Domane+ SLR 9",
"price": "12999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41720",
"name": "Supercaliber SLR 9.8 GX AXS Gen 2",
"price": "12999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41684",
"name": "Slash 9.8 GX AXS T-Type Gen 6",
"price": "10999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37653",
"name": "Fetch+ 2",
"price": "8999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36143",
"name": "Domane+ AL 5",
"price": "3999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37356",
"name": "Domane SLR 7 AXS Gen 4",
"price": "14299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36370",
"name": "Fuel EXe 9.8",
"price": "8999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37422",
"name": "Powerfly FS 4 Gen 3",
"price": "8499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36364",
"name": "Fuel EXe 9.5",
"price": "6999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36391",
"name": "Dual Sport+ 2 Stagger",
"price": "3899.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "2199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35001",
"name": "FX 1 Disc Gen 3",
"price": "999.0",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "34587",
"name": "Marlin 5 Gen 2",
"price": "799.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_teal",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "28589",
"name": "Precaliber 24 8-speed Suspension",
"price": "539.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "47997",
"name": "Boone Disc Frame set",
"price": "4950.0",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35746",
"name": "Speed Concept TT Frame Set",
"price": "8600.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "35671",
"name": "Speed Concept SLR Frame Set",
"price": "8600.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}