Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35715",
"name": "Émonda SLR 9",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "orange_black",
"list": "More Options",
"position": 1
}
,
{
"id": "37314",
"name": "Émonda SLR 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "41757",
"name": "Émonda SLR 7 AXS",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "32772",
"name": "Cuadro Émonda SLR Disc",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 6
}
,
{
"id": "29864",
"name": "Cuadro Émonda SLR RSL H1",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "28103",
"name": "Cuadro Émonda SLR H2",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "33139",
"name": "Émonda SLR 7 AXS",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "32565",
"name": "Émonda SLR 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}