Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37967",
"name": "Bontrager NCS 55mm Fender Alloy Mud Flap",
"price": "134.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37966",
"name": "Bontrager NCS 45mm Fender Alloy Mud Flap",
"price": "134.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37965",
"name": "Bontrager NCS 35mm Fender Alloy Mud Flap",
"price": "109.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45096",
"name": "Electra Ponto Go! Non-Drive Side Bottom Skirtguard",
"price": "313.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "32448",
"name": "Trek Allant+/Diamant Zouma+ E-bike Front Fender Wire Cover",
"price": "139.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32447",
"name": "Trek Allant+/Diamant Zouma+ E-bike Rear Fender Wire Cover",
"price": "139.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "35157",
"name": "Trek-Diamant SKS Rear Fender Slot Cover",
"price": "104.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32446",
"name": "Trek Allant+/Diamant Zouma+ 2020 E-bike Fender nose",
"price": "93.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "31068",
"name": "Eurofender Scatto Spoiler",
"price": "72.0",
"brand": "Eurofender S.r.l.",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}