Panoramica
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "89.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "28142",
"name": "Luce posteriore Electra Pixeo XD Dynamo con supporto parafango 2800 mm",
"price": "19.99",
"brand": "Electra",
"category": "Bike lights",
"variant": "red_black",
"list": "More Options",
"position": 2
}
,
{
"id": "25656",
"name": "Luce posteriore per e-bike Electra Nr.9 XE",
"price": "17.49",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}