Panoramica
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41819",
"name": "Electra Loft Go! 7D Crankset",
"price": "44.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"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": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}