if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "47343",
"name": "Rapha Pro Team Long Sleeve Thermal Jersey",
"price": "191.75",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "purpledark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47348",
"name": "Rapha Pro Team Lightweight Cycling Jersey",
"price": "150.5",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47292",
"name": "Rapha Women's Pro Team Training Cycling Jersey",
"price": "117.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47297",
"name": "Rapha Core Long Sleeve Cycling Jersey",
"price": "108.5",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47357",
"name": "Rapha Lightweight Short Sleeve Women's Baselayer",
"price": "85.0",
"brand": "Rapha",
"category": "Women's cycling baselayers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47341",
"name": "Rapha Lightweight Short Sleeve Cycling Baselayer",
"price": "85.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47296",
"name": "Rapha Women's Core Cycling Jersey",
"price": "84.5",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}