Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "47132",
"name": "Domane SL 7 Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47131",
"name": "Domane SL 6 Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "More Options",
"position": 2
}
,
{
"id": "41348",
"name": "Domane SL 5 Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "37302",
"name": "Cuadro Domane SL Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "More Options",
"position": 4
}
,
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "More Options",
"position": 5
}
,
{
"id": "36153",
"name": "Domane SL 7 Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "30190",
"name": "Cuadro Domane SL Gen 2 Rin",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "More Options",
"position": 7
}
,
{
"id": "35298",
"name": "Domane SL 5 Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "More Options",
"position": 9
}
,
{
"id": "35333",
"name": "Domane SL 7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "More Options",
"position": 10
}
,
{
"id": "36155",
"name": "Domane SL 7 AXS Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "More Options",
"position": 11
}
,
{
"id": "35028",
"name": "Domane SL 6 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "More Options",
"position": 12
}
,
{
"id": "32996",
"name": "Domane SL 7 AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "teal_black",
"list": "More Options",
"position": 13
}
,
{
"id": "35303",
"name": "Domane SL 6 Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "More Options",
"position": 14
}
,
{
"id": "35073",
"name": "Cuadro Domane SL Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "More Options",
"position": 15
}
,
{
"id": "28712",
"name": "Cuadro Domane SL Disc Gen 3",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "28313",
"name": "Domane SL 6",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "More Options",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}