Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "44693",
"name": "e*Thirteen e*spec Race Carbon Crank for TQ",
"price": "8532.0",
"brand": "EThirteen",
"category": "Bike cranks & chainrings",
"variant": "greydark",
"list": "More Options",
"position": 1
}
,
{
"id": "41243",
"name": "Prowheel EB03 Bosch GEN3 (Mini ISIS) Crank Arm Set",
"price": "731.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}