if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "34654",
"name": "Trek Solstice Women's Cycling Jersey",
"price": "99.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "219.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "169.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34652",
"name": "Trek Circuit Women's LTD Cycling Jersey",
"price": "139.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35816",
"name": "Trek Circuit Women's Cycling Jersey",
"price": "149.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "pinklight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}