Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "11882",
"name": "Trek Kids 20" Suspension Forks",
"price": "",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "11836",
"name": "Trek Kids 24" Suspension Forks",
"price": "",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35697",
"name": "Trek 2022 Emonda SL 700c Rigid Forks",
"price": "",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "More Options",
"position": 3
}
,
{
"id": "35916",
"name": "Trek 2022 Domane SL 5 Forks",
"price": "",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "35914",
"name": "Trek 2022 Domane SL 7 700c Rigid Fork",
"price": "",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_black",
"list": "More Options",
"position": 5
}
,
{
"id": "11776",
"name": "Bontrager SPA SS7 Cantilever Brake 700C Suspension Fork",
"price": "",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "35915",
"name": "Trek 2022 Domane SL 6 700c Rigid Fork",
"price": "",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "More Options",
"position": 7
}
,
{
"id": "09806",
"name": "Tijeras Bontrager Forklight 700c",
"price": "",
"brand": "Bontrager",
"category": "Bike forks",
"variant": "black_white",
"list": "More Options",
"position": 8
}
,
{
"id": "33232",
"name": "Bontrager Forklight Disc 700c Fork",
"price": "",
"brand": "Bontrager",
"category": "Bike forks",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "27986",
"name": "RockShox 30 Judy Gold RL Solo Air 27.5" BOOST Fork",
"price": "",
"brand": "RockShox",
"category": "Bike forks",
"variant": "black_white",
"list": "More Options",
"position": 10
}
,
{
"id": "33262",
"name": "Diamant Suntour NCX D Unthreaded 700C Suspension Fork",
"price": "",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "white",
"list": "More Options",
"position": 11
}
,
{
"id": "13599",
"name": "SR Suntour Mob 27.5" Suspension Fork Gloss Paint",
"price": "",
"brand": "SR SUNTOUR",
"category": "Bike forks",
"variant": "grey",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}