Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37084",
"name": "Licras para Bici de Montaña Trek Evoke",
"price": "3299.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41149",
"name": "Licras para Bici de Montaña Trek Rhythm",
"price": "2499.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "22791",
"name": "Short de Ejercicio Bontrager Quantum",
"price": "2009.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22789",
"name": "Shorts para Ciclismo de montaña Bontrager Evoke",
"price": "830.0",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "13755",
"name": "Bermuda para Ciclismo de Montaña Bontrager Rhythm",
"price": "659.0",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}