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": "37087",
"name": "Trek Evoke Youth Mountain Bike Shorts",
"price": "189.99",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "41149",
"name": "Trek Rhythm Mountain Bike Shorts",
"price": "179.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37090",
"name": "Trek Troslo Liner Shorts",
"price": "109.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37082",
"name": "Trek Evoke Mountain Bike Tech Tee",
"price": "79.99",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37106",
"name": "Trek Evoke Unisex Mountain Bike Glove",
"price": "69.99",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37110",
"name": "Trek Evoke Youth Unisex Mountain Bike Glove",
"price": "59.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37086",
"name": "Trek Evoke Youth Mountain Bike Tech Tee",
"price": "59.99",
"brand": "Trek",
"category": "Kids' bike apparel",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}