Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "23383",
"name": "Enjuague de bici Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "23386",
"name": "Grasa Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23382",
"name": "Desengrasante Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "32120",
"name": "Tektro Hydraulic Brake Fluid",
"price": "",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "23381",
"name": "Lubricante de Cadenas Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "23385",
"name": "Lubricante de Montaje Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}