Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "35529",
"name": "Trek Wheel Top Alloy Kids' Crankset",
"price": "1044.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "34883",
"name": "Trek Kids' Crankset",
"price": "939.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "10057",
"name": "Bielas Trek 16" Niños",
"price": "818.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "10059",
"name": "Trek Dialed 24" Kids' Crankset",
"price": "696.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "10058",
"name": "Bielas Trek 20" Niños",
"price": "661.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "11410",
"name": "Trek Pavement Crankset",
"price": "649.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "45448",
"name": "Trek Wheel Top 20" Crankset",
"price": "417.0",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "12310",
"name": "Bosch Gen 3 (Mini ISIS) Crank Arm Set",
"price": "1983.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "26247",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set with Guard",
"price": "1983.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Crankset",
"price": "1340.0",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 10
}
,
{
"id": "26246",
"name": "Bosch Gen 2&4 (ISIS) Crank Arm Set",
"price": "1322.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "28409",
"name": "Bosch Gen 2 & 4 (ISIS) Crank Arm Set",
"price": "1322.0",
"brand": "Ride+",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 12
}
,
{
"id": "36161",
"name": "Trek-Diamant Wheel Top DCRX1 Double Crankset",
"price": "974.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "37658",
"name": "Prowheel PRO-D42P Crankset",
"price": "785.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "40461",
"name": "Prowheel ISIS Bosch Gen 2 & 4 Crank Arms",
"price": "731.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "45291",
"name": "Prowheel Kids' 30T Crank",
"price": "668.0",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 16
}
,
{
"id": "35297",
"name": "Trek-Diamant Wheel Top G4XD Triple Crank",
"price": "487.0",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}