if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47314",
"name": "Rapha Women's Core II Cycling Rain Jacket",
"price": "160.0",
"brand": "Rapha",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47309",
"name": "Rapha Women's Core Cycling Bib Shorts",
"price": "125.0",
"brand": "Rapha",
"category": "Cycling bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47311",
"name": "Rapha Women's Core Cargo Cycling Shorts",
"price": "115.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47294",
"name": "Rapha Women's Core Lightweight Cycling Jersey",
"price": "88.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47317",
"name": "Rapha Women's Core Cycling Gilet",
"price": "88.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47296",
"name": "Rapha Women's Core Cycling Jersey",
"price": "88.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}