Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41352",
"name": "Émonda SL 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "41366",
"name": "Émonda SL 5",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "41354",
"name": "Émonda SL 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greenlight_black",
"list": "More Options",
"position": 3
}
,
{
"id": "30189",
"name": "Cuadro Émonda SL",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 4
}
,
{
"id": "32688",
"name": "Cuadro Émonda SL Disc",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 5
}
,
{
"id": "32564",
"name": "Émonda SL 7 Disc AXS",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "More Options",
"position": 6
}
,
{
"id": "35029",
"name": "Émonda SL 6 AXS",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "More Options",
"position": 7
}
,
{
"id": "32561",
"name": "Émonda SL 6 Disc",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 8
}
,
{
"id": "36978",
"name": "Émonda SL 7 AXS",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "More Options",
"position": 9
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "32562",
"name": "Émonda SL 6 Disc Pro",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "35046",
"name": "Émonda SL 7",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "More Options",
"position": 12
}
,
{
"id": "32560",
"name": "Émonda SL 5 Disc",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark_blue",
"list": "More Options",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}