Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41021",
"name": "Allant+ 7 Lowstep Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "40483",
"name": "Allant+ 5 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41022",
"name": "Allant+ 7 Mid-step Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 3
}
,
{
"id": "41023",
"name": "Allant+ 6",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 4
}
,
{
"id": "40482",
"name": "Allant+ 5",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "40484",
"name": "Allant+ 5 Mid-step",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "41029",
"name": "Allant+ 7 Gen 2",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 7
}
,
{
"id": "41025",
"name": "Allant+ 6 Mid-step",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "More Options",
"position": 9
}
,
{
"id": "37603",
"name": "Allant+ 9 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 10
}
,
{
"id": "36936",
"name": "Allant+ 9",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "More Options",
"position": 11
}
,
{
"id": "36933",
"name": "Allant+ 7 Stagger",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "More Options",
"position": 12
}
,
{
"id": "36911",
"name": "Allant+ 5 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "More Options",
"position": 13
}
,
{
"id": "36913",
"name": "Allant+ 5 Stagger",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 14
}
,
{
"id": "36916",
"name": "Allant+ 6",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 15
}
,
{
"id": "33125",
"name": "Allant+ 5",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 16
}
,
{
"id": "36931",
"name": "Allant+ 7",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "More Options",
"position": 17
}
,
{
"id": "30464",
"name": "Allant+ 7 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 18
}
,
{
"id": "36970",
"name": "Allant+ 5",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "More Options",
"position": 19
}
,
{
"id": "35137",
"name": "Allant+ 9",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black_blue",
"list": "More Options",
"position": 20
}
,
{
"id": "36919",
"name": "Allant+ 6 Lowstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "More Options",
"position": 21
}
,
{
"id": "36923",
"name": "Allant+ 6 Stagger",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "More Options",
"position": 22
}
,
{
"id": "29466",
"name": "Allant+ 9.9S",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "More Options",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}