Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "22374",
"name": "Multiherramienta Bontrager Elite",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22373",
"name": "Multiherramienta Bontrager Comp",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30807",
"name": "Multiherramienta Bontrager BITS Integrada BITS Integrada",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "41411",
"name": "Multiherramienta Trek Pro BITS",
"price": "",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "21794",
"name": "Bolsa Bontrager Pro Flat",
"price": "",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "26602",
"name": "Palanca para Bontrager Switch",
"price": "",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}