if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "219.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "169.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "89.99",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}