Resumen
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "49059",
"name": "Trek FX+ 7 Handlebar/Stem",
"price": "129.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "35019",
"name": "Manillar/potencia Bontrager RSL MTB",
"price": "399.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "24153",
"name": "Manillar Bontrager Line Pro Carbon 35 Montaña",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "13432",
"name": "Manillar Bontrager Kovee Pro Carbon 35 Montaña",
"price": "169.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "14700",
"name": "Manillar Bontrager Kovee Elite 35 Montaña",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22469",
"name": "Manillar Bontrager Kovee XXX Carbon 35 Montaña",
"price": "229.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "grey",
"list": "More Options",
"position": 6
}
,
{
"id": "09191",
"name": "Manillar Bontrager Crivitz Montaña",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "24154",
"name": "Manillar Bontrager MTB Line 35",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}