Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "35497",
"name": "Trek 2022 Supercaliber 29 Small Swingarm Assemblies",
"price": "37123.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "35498",
"name": "Trek 2022 Supercaliber 29 Medium Swingarm Assemblies",
"price": "37123.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red_black",
"list": "More Options",
"position": 2
}
,
{
"id": "35499",
"name": "Trek 2022 Supercaliber 29 Large Swingarm Assemblies",
"price": "37123.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red_black",
"list": "More Options",
"position": 3
}
,
{
"id": "35492",
"name": "Trek 2021 E-Caliber 29 Swingarm Assemblies",
"price": "28710.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greydark_black",
"list": "More Options",
"position": 4
}
,
{
"id": "45582",
"name": "Trek 2024-2025 Supercaliber Size Small Paint Match Rear Triangle",
"price": "25056.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "reddark_black",
"list": "More Options",
"position": 5
}
,
{
"id": "45583",
"name": "Trek 2024-2025 Supercaliber M-XL Swingarm Assembly",
"price": "25056.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "reddark_black",
"list": "More Options",
"position": 6
}
,
{
"id": "28290",
"name": "Trek 2020 Supercaliber 29 Large Swingarm Assemblies",
"price": "23200.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_white",
"list": "More Options",
"position": 7
}
,
{
"id": "28286",
"name": "Trek 2020 Supercaliber 29 Small Swingarm Assemblies",
"price": "23200.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_white",
"list": "More Options",
"position": 8
}
,
{
"id": "28288",
"name": "Trek 2020 Supercaliber 29 Medium Swingarm Assemblies",
"price": "23200.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_white",
"list": "More Options",
"position": 9
}
,
{
"id": "14676",
"name": "RockShox Deluxe Re:Aktiv 205 x 57.5mm Shock",
"price": "16356.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_greydark",
"list": "More Options",
"position": 10
}
,
{
"id": "33979",
"name": "Trek Slash Gen 5 Paint Match Carbon Chainstay",
"price": "14616.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "More Options",
"position": 11
}
,
{
"id": "40776",
"name": "Trek 2023-2025 Fuel EX 29 Carbon Chainstay",
"price": "14616.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red_reddark",
"list": "More Options",
"position": 12
}
,
{
"id": "11932",
"name": "Trek Ticket S 26 Aluminum Chainstay",
"price": "14043.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "green",
"list": "More Options",
"position": 13
}
,
{
"id": "22124",
"name": "Trek 2018 Session Carbon 27.5 Chainstay",
"price": "13920.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "More Options",
"position": 14
}
,
{
"id": "33204",
"name": "RockShox Deluxe RT3 205 x 50mm Shock",
"price": "13577.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "33202",
"name": "RockShox Deluxe Re:Aktiv 205 x 57.5mm Shock",
"price": "13572.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "33980",
"name": "Trek Slash Gen 5 Paint Match Carbon Seatstay",
"price": "13398.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "More Options",
"position": 17
}
,
{
"id": "35502",
"name": "Trek 2022-2024 Top Fuel 29 Carbon Chainstay",
"price": "13398.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greydark_brown",
"list": "More Options",
"position": 18
}
,
{
"id": "40777",
"name": "Trek 2023-2025 Fuel EX 29 Carbon Seatstay",
"price": "13398.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "More Options",
"position": 19
}
,
{
"id": "33976",
"name": "Trek 2021 Fuel EX 29 Carbon Chainstay",
"price": "13398.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "More Options",
"position": 20
}
,
{
"id": "33201",
"name": "RockShox Deluxe Re:Aktiv Thru Shaft 230 x 57.5mm Shock",
"price": "13224.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_greydark",
"list": "More Options",
"position": 21
}
,
{
"id": "22472",
"name": "Trek 2018-2021 Session 29 Carbon Chainstay",
"price": "13224.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "More Options",
"position": 22
}
,
{
"id": "27323",
"name": "Trek Slash Gen 4 Paint Match Carbon Chainstay",
"price": "13224.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}