Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "32739",
"name": "Licra con tirantes para damas Trek Velocis",
"price": "3899.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "32743",
"name": "Licra con tirantes para damas Trek Circuit",
"price": "2999.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "32745",
"name": "Licras para damas Trek Circuit",
"price": "2599.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32747",
"name": "Licras para damas Trek Solstice",
"price": "1459.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41717",
"name": "Santini Trek-Segafredo Women's TDF Replica Cycling Short",
"price": "3959.0",
"brand": "Santini",
"category": "Road bike shorts & bib shorts",
"variant": "bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "13015",
"name": "Licras Cortas de Ciclismo Bontrager Meraj para damas",
"price": "830.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}