Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "22569",
"name": "Candado Plegable Bontrager Elite con llave",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "26934",
"name": "Candado de cadena Bontrager Ultimate con llave",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "22565",
"name": "Candado de Cadena Bontrager Pro con llave",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22568",
"name": "Candado en U Bontrager Elite con Llave y Cable de 4'",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "09926",
"name": "Trek Diamant Villiger RIDE+ G1 Bike Lock",
"price": "",
"brand": "Trek",
"category": "Bike locks",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "37895",
"name": "Trek Lock Bumper Set with Bolts",
"price": "",
"brand": "Trek",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "26939",
"name": "Candado de cable Bontrager con combinación",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22562",
"name": "Candado de Cable Bontrager Comp con combinación",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "26935",
"name": "Candado de cadena Bontrager Comp con llave",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "26937",
"name": "Candado de Cadena Larga Bontrager Comp con Llave",
"price": "",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "42051",
"name": "Electra Ring Lock Adapter plates",
"price": "",
"brand": "Electra",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "55922",
"name": "ABUS Ring Lock 4650L NR with Removable Key",
"price": "",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "55921",
"name": "ABUS Ring Lock 4650L R with Non-Removable Key",
"price": "",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}