Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37886",
"name": "Trek 2023 Fetch+ 4 Cargo Box",
"price": "15305.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37920",
"name": "Adaptador Britax/Romer Fetch+ 4 de Trek",
"price": "6187.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37919",
"name": "Adaptador Fetch+ 4 de Trek para MaxiCosi/CybexNuna",
"price": "5583.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36097",
"name": "Juego de Alforjas Traseras Fetch+ 2 de Trek",
"price": "5005.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "36099",
"name": "Juego de Portabultos para Alforja Delantera Fetch+ 2 de Trek.",
"price": "3660.0",
"brand": "Trek",
"category": "Bike baskets",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "14473",
"name": "Electra Cruiser Wicker Basket",
"price": "329.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "tan",
"list": "More Options",
"position": 6
}
,
{
"id": "37552",
"name": "Electra Plasket 32mm Bracket",
"price": "219.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "37555",
"name": "Electra Plasket 22.2mm Bracket",
"price": "219.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "37554",
"name": "Electra Plasket 10mm Bracket",
"price": "219.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37556",
"name": "Electra Plasket Strap and Pin",
"price": "170.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}