Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "11410",
"name": "Trek Pavement Crankset",
"price": "",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35529",
"name": "Trek Wheel Top Alloy Kids' Crankset",
"price": "",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "34883",
"name": "Trek Kids' Crankset",
"price": "",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "10059",
"name": "Trek Dialed 24" Kids' Crankset",
"price": "",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "10058",
"name": "Bielas Trek 20" Niños",
"price": "",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "45448",
"name": "Trek Wheel Top 20" Crankset",
"price": "",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "10057",
"name": "Bielas Trek 16" Niños",
"price": "",
"brand": "Trek",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35297",
"name": "Trek-Diamant Wheel Top G4XD Triple Crank",
"price": "",
"brand": "Trek-Diamant",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "41819",
"name": "Electra Loft Go! 7D Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "26232",
"name": "Electra Straight 8 3i Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "26244",
"name": "Electra Townie 24" Chainguide Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "41619",
"name": "Electra Cruiser 170mm Chainguide Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 12
}
,
{
"id": "45291",
"name": "Prowheel Kids' 30T Crank",
"price": "",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 13
}
,
{
"id": "26239",
"name": "Electra Cruiser One Piece Crank Arm Set",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 14
}
,
{
"id": "40461",
"name": "Prowheel ISIS Bosch Gen 2 & 4 Crank Arms",
"price": "",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 15
}
,
{
"id": "41620",
"name": "Electra Cruiser 152mm Chainguide Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 16
}
,
{
"id": "26243",
"name": "Electra Townie Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 17
}
,
{
"id": "35944",
"name": "Electra Townie Go! 7D Gen 2 Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 18
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 19
}
,
{
"id": "26234",
"name": "Electra Amsterdam Original 3 Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 20
}
,
{
"id": "26237",
"name": "Electra Townie Chainguide Crankset",
"price": "",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 21
}
]
}
});
} else {
console.log("dataLayer");
}