if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47291",
"name": "Maillot d’entraînement Rapha Pro Team",
"price": "130.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47321",
"name": "Chaussettes de cycliste Rapha Pro Team",
"price": "23.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47337",
"name": "Cuissard à bretelles d’entraînement Rapha Pro Team pour femmes",
"price": "200.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47307",
"name": "Cuissard à bretelles d’entraînement Rapha Pro Team",
"price": "200.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47292",
"name": "Maillot d’entraînement Rapha Pro Team pour femmes",
"price": "130.0",
"brand": "Rapha",
"category": "Road bike jerseys",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}