if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "48799",
"name": "Cuissard à bretelles Rapha Core Cargo",
"price": "150.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47337",
"name": "Cuissard à bretelles d’entraînement Rapha Pro Team Femmes",
"price": "200.0",
"brand": "Rapha",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13446",
"name": "Cuissard à bretelles de cyclisme Bontrager Velocis Thermal inForm",
"price": "101.49",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}