if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NZD",
"impressions": [
{
"id": "47291",
"name": "Rapha Pro Team Training Cycling Jersey",
"price": "225.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47321",
"name": "Rapha Pro Team Cycling Socks",
"price": "40.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47312",
"name": "Rapha Pro Team GORE-TEX Cycling Rain Jacket",
"price": "520.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47301",
"name": "Rapha Pro Team II Cycling Bib Shorts",
"price": "450.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47344",
"name": "Rapha 24 Pro Team Training Tights",
"price": "380.0",
"brand": "Rapha",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47337",
"name": "Rapha Women's Pro Team Training Cycling Bib Shorts",
"price": "370.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47307",
"name": "Rapha Pro Team Training Cycling Bib Shorts",
"price": "360.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47343",
"name": "Rapha Pro Team Long Sleeve Thermal Jersey",
"price": "320.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "purpledark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47369",
"name": "Rapha Women's Pro Team Long Sleeve Training Jersey",
"price": "320.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47348",
"name": "Rapha Pro Team Lightweight Cycling Jersey",
"price": "265.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "47292",
"name": "Rapha Women's Pro Team Training Cycling Jersey",
"price": "225.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47315",
"name": "Rapha Pro Team Lightweight Cycling Gilet",
"price": "220.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "47349",
"name": "Rapha Pro Team Winter Gloves",
"price": "165.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47323",
"name": "Rapha Pro Team Cycling Mitts",
"price": "100.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}