Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "41674",
"name": "Bolsa de Asiento Trek Blendr",
"price": "",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "14683",
"name": "Almacenamiento Integrado Bontrager Speed Storage",
"price": "",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26615",
"name": "Bontrager Fitness Gel Saddle Cover",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "00786",
"name": "Bontrager Road Gel Saddle Cover",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44844",
"name": "Trek Blendr Saddle Bag Mount",
"price": "",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26616",
"name": "Bontrager Comfort Gel Saddle Cover",
"price": "",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}