Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "24839",
"name": "Bombas de Piso de pistón Charger de Bontrager",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "21854",
"name": "Bomba de piso Bontrager Dual Charger",
"price": "104.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "24238",
"name": "Bomba de Suelo Bontrager TLR Flash Charger de Bontrager",
"price": "189.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "30760",
"name": "Flat Packs de Bontrager",
"price": "73.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "30675",
"name": "Minibomba Bontrager Air Rush Road",
"price": "47.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "32851",
"name": "Minibomba Bontrager Air Rush Pro",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28009",
"name": "Bomba para amortiguador de Bontrager",
"price": "69.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 7
}
,
{
"id": "13857",
"name": "Bomba de Ruta Bontrager Air Support HP Pro S",
"price": "64.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "24757",
"name": "Bomba Bontrager Air Support con manómetro",
"price": "47.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black_greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "11245",
"name": "Bomba Bontrager Air Support HV MTB",
"price": "47.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black_greylight",
"list": "More Options",
"position": 10
}
,
{
"id": "13856",
"name": "Bomba de ruta Bontrager Air Support HP S",
"price": "43.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black_greylight",
"list": "More Options",
"position": 11
}
,
{
"id": "11246",
"name": "Bomba Bontrager Air Support",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "white",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}