Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "32853",
"name": "Multiherramienta Bontrager Pro",
"price": "1579.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30807",
"name": "Multiherramienta Bontrager BITS Integrada BITS Integrada",
"price": "969.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "89.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "41411",
"name": "Multiherramienta Trek Pro BITS",
"price": "2009.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "21794",
"name": "Bolsa Bontrager Pro Flat",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26602",
"name": "Palanca para Bontrager Switch",
"price": "353.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}