if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "47301",
"name": "Rapha Pro Team II Cycling Bib Shorts",
"price": "450.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"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": 3
}
,
{
"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": 4
}
,
{
"id": "47309",
"name": "Rapha Core Women's Cycling Bib Shorts",
"price": "225.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47308",
"name": "Rapha Core Cycling Bib Shorts",
"price": "225.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}