Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33700",
"name": "Electra Go! Mips Bike Helmet",
"price": "95.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "More Options",
"position": 1
}
,
{
"id": "21664",
"name": "Electra Commute Mips Bike Helmet",
"price": "90.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "purpledark",
"list": "More Options",
"position": 2
}
,
{
"id": "14462",
"name": "Electra Lifestyle Lux Tiger Shark Bike Helmet",
"price": "79.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey_green",
"list": "More Options",
"position": 3
}
,
{
"id": "21661",
"name": "Electra Heartchya Bike Helmet",
"price": "71.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "14461",
"name": "Electra Lifestyle Lux Straight 8 Bike Helmet",
"price": "71.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "More Options",
"position": 5
}
,
{
"id": "34333",
"name": "Electra Mountain Sky Lifestyle Lux Bike Helmet",
"price": "63.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "More Options",
"position": 6
}
,
{
"id": "14730",
"name": "Electra Lifestyle Lux Cool Cat Helmet",
"price": "63.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "More Options",
"position": 7
}
,
{
"id": "21685",
"name": "Electra Lifestyle Lux Ace Bike Helmet",
"price": "63.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "33698",
"name": "Electra Lifestyle Lux Solid Color Helmet",
"price": "40.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan",
"list": "More Options",
"position": 9
}
,
{
"id": "14127",
"name": "Electra Lifestyle Lux Soft Serve Graphic Helmet",
"price": "40.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white_teal",
"list": "More Options",
"position": 10
}
,
{
"id": "34332",
"name": "Electra Gnome Lifestyle Lux Bike Helmet",
"price": "40.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "34245",
"name": "Electra EBC 3000 Lifestyle Bike Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "More Options",
"position": 12
}
,
{
"id": "35904",
"name": "Casco Electra Ziggy Lifestyle",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "More Options",
"position": 13
}
,
{
"id": "33561",
"name": "Electra Lifestyle Bike Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "orange",
"list": "More Options",
"position": 14
}
,
{
"id": "34244",
"name": "Electra Unicorn Lifestyle Bike Helmet",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "More Options",
"position": 15
}
,
{
"id": "35907",
"name": "Casco Electra Slime Lifestyle",
"price": "25.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_green",
"list": "More Options",
"position": 16
}
,
{
"id": "35906",
"name": "Casco Electra Tutti Frutti Lifestyle",
"price": "25.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "More Options",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}