Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "46144",
"name": "Top Fuel 9 Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan",
"list": "More Options",
"position": 1
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 2
}
,
{
"id": "46142",
"name": "Top Fuel 5 Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 4
}
,
{
"id": "46726",
"name": "Cuadro Top Fuel C Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "46727",
"name": "Cuadro Top Fuel AL Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "More Options",
"position": 6
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "46143",
"name": "Top Fuel 8 Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS Gen 4",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 9
}
,
{
"id": "27919",
"name": "Top Fuel 9.7 Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red_grey",
"list": "More Options",
"position": 10
}
,
{
"id": "32989",
"name": "Top Fuel 9.8 GX Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_red",
"list": "More Options",
"position": 11
}
,
{
"id": "32987",
"name": "Top Fuel 9.9 X01 Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "More Options",
"position": 12
}
,
{
"id": "37064",
"name": "Top Fuel 9.9 XTR Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 13
}
,
{
"id": "36790",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 14
}
,
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 15
}
,
{
"id": "41647",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 16
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "More Options",
"position": 17
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "More Options",
"position": 18
}
,
{
"id": "35221",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "More Options",
"position": 19
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 20
}
,
{
"id": "28318",
"name": "Cuadro Top Fuel C Gen 2",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "More Options",
"position": 21
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "More Options",
"position": 22
}
,
{
"id": "35648",
"name": "Cuadro Top Fuel C Gen 3",
"price": "",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_blue",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}