Panoramica
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26259",
"name": "Serie sterzo con filettatura zero-stack semi-integrata per Electra Townie",
"price": "29.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35971",
"name": "Serie sterzo con bloccaggio per Electra Townie Commute Go!",
"price": "19.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41764",
"name": "Electra 1-1/8" Threadless External Cup Headset",
"price": "12.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "35972",
"name": "Serie sterzo con filettatura per Electra Cruiser Go!",
"price": "12.99",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}