if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "32746",
"name": "Trek Solstice Cycling Shorts",
"price": "129.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "34653",
"name": "Trek Solstice Cycling Jersey",
"price": "99.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "36029",
"name": "Trek Solstice Bike Helmet",
"price": "79.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34659",
"name": "Trek Solstice Cycling Bib Shorts",
"price": "179.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "32747",
"name": "Trek Solstice Women's Cycling Shorts",
"price": "129.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "36026",
"name": "Trek Solstice Mips Bike Helmet",
"price": "129.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "34654",
"name": "Trek Solstice Women's Cycling Jersey",
"price": "99.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "44094",
"name": "Trek Solstice Bike Helmet Visor",
"price": "17.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "34613",
"name": "Trek Solstice Mips Children's Bike Helmet",
"price": "129.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "36033",
"name": "Trek Solstice Mips Youth Bike Helmet",
"price": "129.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "37099",
"name": "Trek Solstice Gel Unisex Cycling Glove",
"price": "69.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "44098",
"name": "Trek Solstice Youth Bike Helmet Visor",
"price": "17.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "44095",
"name": "Trek Solstice Bike Helmet Fit Pad",
"price": "17.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "44099",
"name": "Trek Solstice Children's Bike Helmet Visor",
"price": "17.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "44097",
"name": "Trek Solstice Children's and Youth Bike Helmet Fit Pad",
"price": "17.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}