Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41416",
"name": "Cinta de manillar Trek EcoTack",
"price": "29.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Cinta de manillar Bontrager Gel Cork",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "14245",
"name": "Cinta de manillar Bontrager Grippytack",
"price": "10.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "37298",
"name": "Juego de cinta de manillar Bontrager Perf Line",
"price": "13.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "22698",
"name": "Cinta de manillar Bontrager Double Gel Cork",
"price": "10.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "37297",
"name": "Juego de cinta de manillar Bontrager Supertack",
"price": "17.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 6
}
,
{
"id": "47896",
"name": "Juego de cinta de manillar Trek Perf Line",
"price": "26.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "48089",
"name": "Juego de cinta de manillar Double Gel Cork de Trek",
"price": "19.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "47893",
"name": "Juego de cinta de manillar Trek Gel Cork",
"price": "17.99",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "22854",
"name": "Cinta de manillar Bontrager Gel Cork Graphic",
"price": "13.5",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white_black",
"list": "More Options",
"position": 10
}
,
{
"id": "12523",
"name": "Cinta de manillar Bontrager Supertack",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 11
}
,
{
"id": "23111",
"name": "Cinta de manillar Bontrager Gel Cork Visibility",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}