if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47299",
"name": "Rapha Brevet Cycling Jersey",
"price": "175.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47313",
"name": "Rapha Core II Cycling Rain Jacket",
"price": "160.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47318",
"name": "Rapha Brevet Cycling Gilet",
"price": "135.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47308",
"name": "Rapha Core Cycling Bib Shorts",
"price": "125.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47310",
"name": "Rapha Core Cargo Cycling Shorts",
"price": "115.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47316",
"name": "Rapha Core Cycling Gilet",
"price": "88.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47295",
"name": "Rapha Core Cycling Jersey",
"price": "88.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47293",
"name": "Rapha Core Lightweight Cycling Jersey",
"price": "88.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47300",
"name": "Rapha Lightweight Sleeveless Cycling Base Layer",
"price": "63.0",
"brand": "Rapha",
"category": "Men's cycling baselayers",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47324",
"name": "Rapha Core Cycling Mitts",
"price": "40.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}