Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41736",
"name": "Casco Ligero de Ciclismo Trek Windshell",
"price": "",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25044",
"name": "Pasamontañas para Ciclismo Bontrager Windshell",
"price": "",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41238",
"name": "Gorra de Ciclismo de Algodón Trek",
"price": "",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "41738",
"name": "Pasamontañas para Ciclismo Trek Windshell",
"price": "",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41739",
"name": "Protector de cuello térmico para ciclismo Trek",
"price": "",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41737",
"name": "Casco Ligero de Ciclismo Trek Windshell",
"price": "",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41237",
"name": "Gorra para Ciclismo Trek UV SunStop",
"price": "",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "white",
"list": "More Options",
"position": 7
}
,
{
"id": "25033",
"name": "Bandana Térmica de Ciclismo Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "25037",
"name": "Gorra térmica de ciclismo Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "25036",
"name": "Gorra de Ciclismo Bontrager Windshell Skull",
"price": "",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "41735",
"name": "Bandana Térmica de Ciclismo Trek",
"price": "",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}