Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "11669",
"name": "Corbata ancha de alta presión Bontrager",
"price": "",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "31421",
"name": "Bontrager Race X Lite Rim Brake TLR Rim Strip",
"price": "",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35061",
"name": "Cinta para rin Bontrager TLR",
"price": "",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14221",
"name": "Corbata Bontrager TLR",
"price": "",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "40481",
"name": "Trek-Diamant Presta Rim Strip",
"price": "",
"brand": "Trek-Diamant",
"category": "Bike rims & accessories",
"variant": "red",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}