Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "11323",
"name": "Sensor Bontrager Combo Digital Interchange",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12319",
"name": "Sensor digital Bontrager DuoTrap S",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25410",
"name": "Bontrager Carbon Road Frame DuoTrap S Cover",
"price": "4.99",
"brand": "Trek",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25411",
"name": "Bontrager DuoTrap S Wheel Magnet Update Kit",
"price": "12.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28391",
"name": "Imán con banda de cadencia Bontrager 26 mm",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "28393",
"name": "Imán con banda de cadencia Bontrager 9 mm",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28394",
"name": "Imán con banda de cadencia Bontrager 4 mm",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "13756",
"name": "Bontrager Aero Wheel Magnet",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "21490",
"name": "Bontrager SpeedTrap Spacer",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "21493",
"name": "Bontrager Trip 100/200 Battery Cover",
"price": "3.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "25402",
"name": "Madone Chainstay Rubber Gasket",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "25406",
"name": "Bontrager DuoTrap S Chainstay Cover-Alloy Frames",
"price": "2.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}