Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41731",
"name": "Calentadores de Brazos Térmicos para Ciclismo Trek",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41236",
"name": "Cubrepiernas para Ciclismo Trek UV Sunstop",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "41734",
"name": "Calentadores de piernas térmicos para ciclismo Trek",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41235",
"name": "Cubrebrazos para Ciclismo Trek UV Sunstop",
"price": "",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}