if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "32738",
"name": "Trek Velocis Cycling Bib Shorts",
"price": "269.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32742",
"name": "Trek Circuit Cycling Bib Shorts",
"price": "209.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47301",
"name": "Rapha Pro Team II Cycling Bib Shorts",
"price": "450.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47337",
"name": "Rapha Pro Team Women's Training Cycling Bib Shorts",
"price": "370.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47307",
"name": "Rapha Pro Team Training Cycling Bib Shorts",
"price": "360.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48799",
"name": "Rapha Core Cargo Cycling Bib Shorts",
"price": "265.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47308",
"name": "Rapha Core Cycling Bib Shorts",
"price": "225.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32744",
"name": "Trek Circuit Cycling Shorts",
"price": "189.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34659",
"name": "Trek Solstice Cycling Bib Shorts",
"price": "179.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32746",
"name": "Trek Solstice Cycling Shorts",
"price": "129.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "13010",
"name": "Bontrager Velocis Cycling Bib Shorts",
"price": "269.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}