if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "31338",
"name": "Trek 2020 Domane SLR Rear IsoSpeed Grommet",
"price": "25.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "14816",
"name": "Trek Silque SLR Front IsoSpeed Seal",
"price": "25.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47996",
"name": "Trek Checkmate SLR IsoSpeed Cover",
"price": "19.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "37726",
"name": "Trek 2022 Checkpoint SLR IsoSpeed Hardware",
"price": "52.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "47995",
"name": "Trek Checkmate SLR IsoSpeed Lid Assembly",
"price": "28.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "14365",
"name": "Trek Domane SLR IsoSpeed Seatmast Slider",
"price": "46.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "31851",
"name": "Trek Domane SLR IsoSpeed Seatmast Bumper",
"price": "9.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "28339",
"name": "Trek Domane SLR IsoSpeed Front Headtube Cover",
"price": "22.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "24274",
"name": "Trek Madone Gen2 Rear Derailleur Hanger",
"price": "34.99",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "30132",
"name": "Trek Di2 Internal Seat Post Battery Adapter",
"price": "34.99",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "33381",
"name": "Trek Domane MKIII IsoSpeed Hardware",
"price": "57.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "31334",
"name": "Trek 2020 Domane Front IsoSpeed Grommet",
"price": "25.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "30479",
"name": "Trek 2020 Madone SL IsoSpeed Cover",
"price": "92.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "34723",
"name": "Trek 2021 Boone Rear IsoSpeed Cover",
"price": "55.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}