Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37083",
"name": "Playera para Damas Trek Evoke para Bici de Montaña",
"price": "",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "37082",
"name": "Playera Trek Evoke para Bici de Montaña",
"price": "",
"brand": "Trek",
"category": "Mountain bike jerseys",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "22790",
"name": "Playera para Ciclismo de Ejercicio Bontrager Quantum",
"price": "",
"brand": "Bontrager",
"category": "Fitness & commuter apparel",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "22797",
"name": "Playera para Ciclismo de Montaña Bontrager Evoke para Damas",
"price": "",
"brand": "Bontrager",
"category": "Mountain bike jerseys",
"variant": "teal_white",
"list": "More Options",
"position": 4
}
,
{
"id": "14968",
"name": "Jersey de Ejercicio Bontrager Kalia para Damas",
"price": "",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "pinkvisibility",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}