if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "59.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": "49.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": "59.49",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}