if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26061",
"name": "Jeu de pédalier pour fat bike à embouts carrés VP Components FP-BC63",
"price": "19.99",
"brand": "Electra",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41769",
"name": "Electra Loft Go! 7D Bottom Bracket Cover",
"price": "10.99",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}