if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "46168",
"name": "Trek Bat Cage Water Bottle Cage",
"price": "29.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "72210",
"name": "Trek Mini Flat Pack",
"price": "79.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44798",
"name": "Trek Flare R City Rear Bike Light",
"price": "69.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "63404",
"name": "Trek Charger Floor Pump",
"price": "79.99",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44799",
"name": "Trek Ion 100 R Front Bike Light",
"price": "69.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48901",
"name": "Trek Ergonomic Comp MTB Grip Set",
"price": "29.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48831",
"name": "Trek Line Elite MTB Grip Set",
"price": "39.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "58885",
"name": "Supercaliber SLR 9.9 XX Flight Attendant Gen 2",
"price": "23999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "19999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "56165",
"name": "Supercaliber SLR 9.9 XTR Di2 Gen 2",
"price": "19999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "57334",
"name": "Supercaliber SLR 9.8 X0 Flight Attendant Gen 2",
"price": "19999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "59647",
"name": "Supercaliber SLR 9.8 X0 AXS T-Type Gen 2",
"price": "15999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "56287",
"name": "Supercaliber SLR 9.8 XT Di2 Gen 2",
"price": "15999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "14899.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "11999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "52231",
"name": "Top Fuel 9.8 XT Di2 Gen 4",
"price": "10499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "58893",
"name": "Fuel EX 9.8 XT Di2 Gen 7",
"price": "10499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "8699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "55097",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "7999.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "reddark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "57827",
"name": "Check-OUT SL 5",
"price": "7999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "57662",
"name": "Madone SL 6 Gen 8",
"price": "6799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "5999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "56308",
"name": "Fuel EX 8 Gen 7",
"price": "5999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "5099.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "black_grey",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}