Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "22565",
"name": "Candado de Cadena Bontrager Pro con llave",
"price": "1339.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "09926",
"name": "Trek Diamant Villiger RIDE+ G1 Bike Lock",
"price": "580.0",
"brand": "Trek",
"category": "Bike locks",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "37895",
"name": "Trek Lock Bumper Set with Bolts",
"price": "438.0",
"brand": "Trek",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41392",
"name": "Bontrager Elite Keyed Folding Lock",
"price": "1899.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "22562",
"name": "Candado de Cable Bontrager Comp con combinación",
"price": "729.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22563",
"name": "Candado de Cable Bontrager Comp con llave",
"price": "729.0",
"brand": "Bontrager",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41254",
"name": "ABUS Ring Lock 4650XL NR & RIB Battery Lock BES3 DT3 T82",
"price": "1655.0",
"brand": "ABUS",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41157",
"name": "ABUS Bosch Smart System T82 Downtube Battery Lock",
"price": "779.0",
"brand": "ABUS",
"category": "E-bike batteries & parts",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "32619",
"name": "AXA Bosch 2 Downtube Battery Lock & Removeable Key",
"price": "661.0",
"brand": "AXA",
"category": "Bike locks",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "12193",
"name": "AXA RIDE+ G2 Docking Lock Cylinder",
"price": "320.0",
"brand": "AXA",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "42051",
"name": "Electra Ring Lock Adapter plates",
"price": "146.0",
"brand": "Electra",
"category": "Bike locks",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}