Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "12996",
"name": "Llanta Barbegazi para Fat Bike de Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "13271",
"name": "Cubierta Bontrager Gnarwhal Fat Bike",
"price": "",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "31693",
"name": "Bontrager Gnarwhal Studded Fat Bike Tire",
"price": "",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "23935",
"name": "Cheng Shin Kids' + MTB Tire",
"price": "",
"brand": "Cheng Shin",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}