Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "44752",
"name": "Llanta MTB Bontrager Vallnord RSL XR TLR",
"price": "1499.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44486",
"name": "Llanta MTB Bontrager Sainte-Anne RSL XR TLR",
"price": "1499.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44489",
"name": "Llanta MTB Bontrager Gunnison Pro XR TLR",
"price": "949.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "44575",
"name": "Llanta MTB Bontrager Sainte-Anne Pro XR TLR",
"price": "949.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "11866",
"name": "Llanta MTB Bontrager XR2 Team Issue TLR",
"price": "2099.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34496",
"name": "Llanta MTB XR5 Team Issue TLR Bontrager",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}