Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "35019",
"name": "Manubrio y poste de manubrio Bontrager RSL MTB",
"price": "8499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24153",
"name": "Manubrio MTB Bontrager Line Pro Carbon 35",
"price": "4499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "13432",
"name": "Manubrio Bontrager Kovee Pro Carbon 35 MTB",
"price": "3629.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "22469",
"name": "Manubrio MTB Bontrager Kovee XXX Carbon 35",
"price": "4499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "24528",
"name": "Manubrio Bontrager Comp 31.8 MTB",
"price": "799.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "24154",
"name": "Manubrio MTB Bontrager Line 35",
"price": "1999.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "09191",
"name": "Manubrio Bontrager Crivitz MTB",
"price": "1363.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "464.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35282",
"name": "Bontrager Approved 31.8 Matte Alloy MTB Handlebar",
"price": "464.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}