Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "21901",
"name": "Puño Bontrager Satellite Elite",
"price": "55.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "35889",
"name": "Juego de puños reciclados Bontrager XR Endurance Comp",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "14211",
"name": "Puño de silicón Bontrager XR",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "08387",
"name": "Puño Bontrager SSR",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_white",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}