Panoramica
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "12688",
"name": "Morsetto reggisella Electra con supporti per portapacchi da 28,6 mm",
"price": "11.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "25889",
"name": "Morsetto reggisella Electra con supporti per portapacchi da 31,8 mm",
"price": "11.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}