if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "42221",
"name": "Trek 2018 Domane IsoSpeed Downtube Cover",
"price": "45.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34524",
"name": "Trek 2021 Domane AL 2 700c Disc Rigid Fork",
"price": "749.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "blue_black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "21972",
"name": "Trek 2018 Domane IsoSpeed Headtube Cover",
"price": "77.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "42222",
"name": "Trek 2018 Domane IsoSpeed Seat Tube Cover",
"price": "45.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_greylight",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "35005",
"name": "Trek 2021 Domane+ ALR 700c Rigid Fork",
"price": "999.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "9499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "57653",
"name": "Madone SL 5 Gen 8",
"price": "4999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "32238",
"name": "Trek 2020 Domane SLR IsoSpeed Cover",
"price": "59.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "33670",
"name": "Trek Domane+ HP Motor Cover",
"price": "252.99",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "26115",
"name": "Trek Émonda SL 700c Rigid Fork",
"price": "935.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "30389",
"name": "Trek 2020 Emonda SL 7 700c Rigid Fork",
"price": "935.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_blue",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "57942",
"name": "Domane SLR 9 Gen 4",
"price": "18499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "57892",
"name": "Domane SLR 7 Gen 4",
"price": "12999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "44448",
"name": "Trek Emonda ALR 6 700c Rigid Fork",
"price": "999.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "32980",
"name": "Domane+ LT 2020 700 c Forks",
"price": "979.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "reddark_bluedark",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "28336",
"name": "Trek Domane SLR IsoSpeed Rear Cover",
"price": "45.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "27753",
"name": "Trek 2018 Émonda SL 5 Women's Fork",
"price": "889.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "33585",
"name": "Trek Domane+ LT Di2 Battery Holder",
"price": "62.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "33790",
"name": "Trek Knock Block Headset Spacers",
"price": "68.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "44475",
"name": "Trek Self-Tapping Zinc Plated Screw",
"price": "12.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "27605",
"name": "Trek Domane 5/6 Series Bottom Bracket Cable Guide Tube",
"price": "9.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "32164",
"name": "Trek 2020 Domane SLR 7 700c Rigid Fork",
"price": "899.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_grey",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "12065",
"name": "Trek Main Pivot Washers",
"price": "8.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "22503",
"name": "Trek 2018 Domane SLR IsoSpeed Downtube Cover",
"price": "46.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}