if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "37084",
"name": "Trek Evoke Mountain Bike Shorts",
"price": "239.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37085",
"name": "Trek Evoke Women's Mountain Bike Shorts",
"price": "239.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41150",
"name": "Trek Rhythm Women's Mountain Bike Shorts",
"price": "179.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41149",
"name": "Trek Rhythm Mountain Bike Shorts",
"price": "179.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37090",
"name": "Trek Troslo Liner Shorts",
"price": "109.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22796",
"name": "Bontrager Rhythm Women's Mountain Bike Short",
"price": "169.99",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "13755",
"name": "Bontrager Rhythm Mountain Bike Shorts",
"price": "169.99",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22791",
"name": "Bontrager Quantum Fitness Bike Short",
"price": "129.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}