Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "38551",
"name": "Poste de Manubrio Trek RCS Pro Blendr",
"price": "110.48",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "28828",
"name": "Poste de manubrio Bontrager Rhythm Comp Knock Block - Sin empaque",
"price": "69.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36213",
"name": "Poste de manubrio Blendr Bontrager Kovee Pro 35",
"price": "159.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "23234",
"name": "Poste de manubrio Bontrager Pro Blendr",
"price": "109.99",
"brand": "Bontrager",
"category": "Blendr integration",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14351",
"name": "Bontrager Adjustable Blendr 180mm Quill Stem",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "24160",
"name": "Poste de Manubrio Bontrager Comp 31.8 de 7 Grados Blendr",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "33106",
"name": "Poste de Manubrio Bontrager Line Pro 35 0 Degree Blend",
"price": "159.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}