Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "12339",
"name": "Juego de dirección integrado con tubo de dirección perfilado Trek E2 con reductor",
"price": "62.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30478",
"name": "Trek Madone SL Painted Headset Cover",
"price": "55.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26272",
"name": "Balero del juego de dirección superior Trek Madone serie 9",
"price": "49.0",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "12223",
"name": "Trek Speed Concept Upper Headset Bearing",
"price": "39.99",
"brand": "Trek",
"category": "Bearings",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "26462",
"name": "Trek Madone SLR Headset Cable Routing Spacer",
"price": "30.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "37487",
"name": "Trek 2022 Rail 9.9 / 9.8 29 1.8" Lower Headset Bearing",
"price": "29.99",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "26270",
"name": "Balero E2 FSA inferior de juego de dirección de Trek 36 grados",
"price": "27.99",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "28924",
"name": "FSA 1-1/8" Upper Headset Bearing",
"price": "12.99",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "28925",
"name": "FSA 1-1/8" Headset Compression Ring",
"price": "8.39",
"brand": "Trek",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "28913",
"name": "FSA Oversized Headset Bearing",
"price": "15.99",
"brand": "FSA",
"category": "Bearings",
"variant": "greylight",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}