if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "63830",
"name": "Rapha Shadow Cycling Gloves",
"price": "80.0",
"brand": "Rapha",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "63829",
"name": "Rapha Merino Cycling Gloves",
"price": "70.0",
"brand": "Rapha",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48911",
"name": "Rapha Winter Cycling Gloves",
"price": "66.0",
"brand": "Rapha",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47295",
"name": "Rapha Core Cycling Jersey",
"price": "66.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "54770",
"name": "Rapha Pro Team Cycling Mitts",
"price": "65.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "54772",
"name": "Rapha Core Cycling Jersey",
"price": "63.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "54776",
"name": "Rapha Core Lightweight Cycling Jersey",
"price": "63.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black_white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47293",
"name": "Rapha Core Lightweight Cycling Jersey",
"price": "61.6",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "54769",
"name": "Rapha Core Cycling Mitts",
"price": "50.0",
"brand": "Rapha",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47299",
"name": "Rapha Brevet Cycling Jersey",
"price": "140.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}