Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37294",
"name": "Plantillas de Ciclismo Trek BioDynamic de Empeine Alto",
"price": "69.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "More Options",
"position": 1
}
,
{
"id": "37293",
"name": "Plantillas de Ciclismo Trek BioDynamic de Empeine Medio",
"price": "69.99",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "yellow",
"list": "More Options",
"position": 2
}
,
{
"id": "22476",
"name": "Suelas de arco alto Bontrager inForm BioDynamics",
"price": "69.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "More Options",
"position": 3
}
,
{
"id": "13040",
"name": "Suelas de arco bajo Bontrager inForm BioDynamics",
"price": "69.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "32999",
"name": "Juego de placas de contacto de pedal de 9 grados de ruta Bontrager",
"price": "22.99",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "27134",
"name": "Juego de placas de pedal de contacto MTB Bontrager",
"price": "22.39",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25476",
"name": "BOA Shoe Replacement IP1 Left Dial Kit",
"price": "25.99",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "25475",
"name": "BOA Shoe Replacement IP1 Right Dial Kit",
"price": "25.0",
"brand": "BOA Technologies",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}