Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "14589",
"name": "Electra Camo Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "36009",
"name": "Electra Retrostripe Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30684",
"name": "Electra Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "pinklight",
"list": "More Options",
"position": 3
}
,
{
"id": "36007",
"name": "Electra Ziggy Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_blue",
"list": "More Options",
"position": 4
}
,
{
"id": "14624",
"name": "Electra Flowers Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "36006",
"name": "Electra Gnome Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "12663",
"name": "Electra Cruiser Handlebar Mirrors",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black_white",
"list": "More Options",
"position": 7
}
,
{
"id": "14591",
"name": "Electra Savannah Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "21642",
"name": "Electra Swirl Cruiser Handlebar Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "white",
"list": "More Options",
"position": 9
}
,
{
"id": "40279",
"name": "Electra Fern Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "greendark",
"list": "More Options",
"position": 10
}
,
{
"id": "36008",
"name": "Electra Sun Rays Bar End Mirror",
"price": "",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "tan_yellow",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}