Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36792",
"name": "Rail 7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 1
}
,
{
"id": "37028",
"name": "Rail 9.8 XT Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "48458",
"name": "Rail+ 5 Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "48470",
"name": "Rail+ 8 Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "48452",
"name": "Rail+ 9.8 XT Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 5
}
,
{
"id": "48472",
"name": "Rail+ 9.9 X0 AXS T-Type Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 6
}
,
{
"id": "48454",
"name": "Rail+ 9.9 XX AXS T-Type Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 7
}
,
{
"id": "48465",
"name": "Rail+ 9.8 GX AXS T-Type Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 8
}
,
{
"id": "48463",
"name": "Rail+ 9.7 Gen 5",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "More Options",
"position": 9
}
,
{
"id": "41561",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "36991",
"name": "Rail 7 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "More Options",
"position": 11
}
,
{
"id": "41527",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "More Options",
"position": 12
}
,
{
"id": "36990",
"name": "Rail 5 625W Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 13
}
,
{
"id": "41662",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 14
}
,
{
"id": "41679",
"name": "Rail 9.5 Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "More Options",
"position": 15
}
,
{
"id": "41666",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey",
"list": "More Options",
"position": 16
}
,
{
"id": "41854",
"name": "Rail 9.9 CXR Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 17
}
,
{
"id": "37027",
"name": "Rail 9.8 XT Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 18
}
,
{
"id": "41986",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 19
}
,
{
"id": "41579",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "More Options",
"position": 20
}
,
{
"id": "37015",
"name": "Rail 9.7 Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 21
}
,
{
"id": "37026",
"name": "Rail 9.7 Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 22
}
,
{
"id": "41853",
"name": "Rail 9.9 CXR Gen 4",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 23
}
,
{
"id": "35036",
"name": "Rail 7 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_black",
"list": "More Options",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}