if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "GBP",
"impressions": [
{
"id": "48799",
"name": "Rapha Core Cargo Cycling Bib Shorts",
"price": "130.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47291",
"name": "Rapha Pro Team Training Cycling Jersey",
"price": "115.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48607",
"name": "Rapha Core Thermal Long-Sleeve Cycling Jersey",
"price": "93.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48906",
"name": "Rapha Merino Cycling Baselayer",
"price": "75.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47307",
"name": "Rapha Pro Team Training Cycling Bib Shorts",
"price": "170.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47370",
"name": "Rapha Core Winter Cycling Jacket",
"price": "150.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47313",
"name": "Rapha Core II Cycling Rain Jacket",
"price": "140.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47342",
"name": "Rapha Core Winter Cycling Bib Tight",
"price": "140.0",
"brand": "Rapha",
"category": "Men's cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47318",
"name": "Rapha Brevet Cycling Gilet",
"price": "120.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47310",
"name": "Rapha Core Cargo Cycling Shorts",
"price": "100.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "47293",
"name": "Rapha Core Lightweight Cycling Jersey",
"price": "78.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pink",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47295",
"name": "Rapha Core Cycling Jersey",
"price": "78.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "47316",
"name": "Rapha Core Cycling Gilet",
"price": "78.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "greendark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47324",
"name": "Rapha Core Cycling Mitts",
"price": "35.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}