Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "26057",
"name": "Juego de ejes de centro de acero Trek Integrated Shimano BB90/BB95",
"price": "49.99",
"brand": "Trek",
"category": "Bike bottom brackets",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "26048",
"name": "Trek Integrated BB90 Shimano V2 Oversized Bottom Bracket Bearing",
"price": "27.99",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "32283",
"name": "Guía de cable de eje de centro de ranura abierta de Trek",
"price": "6.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "32278",
"name": "Trek Emonda ALR Bottom Bracket Cable Guide",
"price": "6.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "29501",
"name": "Trek 2019 Marlin Bottom Bracket Cable Guide",
"price": "5.59",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25279",
"name": "Shimano MT500 Press Fit Bottom Bracket",
"price": "33.99",
"brand": "Shimano",
"category": "Bike bottom brackets",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}