if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "41668",
"name": "Slash 8 Gen 6",
"price": "7499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "57639",
"name": "Domane SL 6 Gen 4",
"price": "7499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "5999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "5999.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37056",
"name": "Session 8",
"price": "7899.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40676",
"name": "Verve+ 4S",
"price": "4999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "57629",
"name": "Domane SL 5 Gen 4",
"price": "5199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "49946",
"name": "Checkpoint ALR 5 Gen 3",
"price": "3799.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bluelight_teal",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "3999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36268",
"name": "Precaliber 20 7-speed",
"price": "479.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36266",
"name": "Precaliber 16",
"price": "399.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1649.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "57944",
"name": "Domane SLR 9 AXS Gen 4",
"price": "19399.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "57942",
"name": "Domane SLR 9 Gen 4",
"price": "18499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "57915",
"name": "Domane SLR 7 AXS Gen 4",
"price": "14299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "47097",
"name": "Slash+ 9.9 X0 AXS T-Type",
"price": "15999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "57892",
"name": "Domane SLR 7 Gen 4",
"price": "12999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36713",
"name": "Domane+ SLR 9",
"price": "12999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "47092",
"name": "Slash+ 9.7 SLX/XT",
"price": "12999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "41572",
"name": "Fuel EX 9.8 GX AXS T-Type Gen 6",
"price": "10499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40677",
"name": "Verve+ 4S Lowstep",
"price": "4999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "1899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36143",
"name": "Domane+ AL 5",
"price": "3999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}