if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "41532",
"name": "Fuel EXe 5",
"price": "5999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40676",
"name": "Verve+ 4S",
"price": "4999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40677",
"name": "Verve+ 4S Lowstep",
"price": "4999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41549",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "7699.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41711",
"name": "Marlin+ 8",
"price": "5499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41016",
"name": "Marlin+ 6",
"price": "4599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37136",
"name": "Rail 7 Gen 3",
"price": "9999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41692",
"name": "Rail 5 Gen 3",
"price": "8999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47097",
"name": "Slash+ 9.9 X0 AXS T-Type",
"price": "19999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47092",
"name": "Slash+ 9.7 SLX/XT",
"price": "12999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41654",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "16499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41665",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "14499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41525",
"name": "Fuel EXe 9.7",
"price": "12999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37653",
"name": "Fetch+ 2",
"price": "8999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36143",
"name": "Domane+ AL 5",
"price": "5499.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36713",
"name": "Domane+ SLR 9",
"price": "18999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36709",
"name": "Domane+ SLR 7",
"price": "14999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36705",
"name": "Domane+ SLR 6 Pro",
"price": "13499.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "13499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37140",
"name": "Rail 9 Gen 3",
"price": "11999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35188",
"name": "Rail 7 Gen 2",
"price": "9999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35191",
"name": "Rail 5 Gen 2",
"price": "8499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37422",
"name": "Powerfly FS 4 Gen 3",
"price": "8499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}