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