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": "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": 2
}
,
{
"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": 3
}
,
{
"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": 4
}
,
{
"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": 5
}
,
{
"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": 6
}
,
{
"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": 7
}
,
{
"id": "12523",
"name": "Cinta de manillar Bontrager Supertack",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "blue",
"list": "More Options",
"position": 8
}
,
{
"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": 9
}
]
}
});
} else {
console.log("dataLayer");
}