Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "44752",
"name": "Llanta MTB Bontrager Vallnord RSL XR TLR",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44486",
"name": "Llanta MTB Bontrager Sainte-Anne RSL XR TLR",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44489",
"name": "Llanta MTB Bontrager Gunnison Pro XR TLR",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "13585",
"name": "Llanta MTB XR4 Team Issue tipo TLR de Bontrager",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "11866",
"name": "Llanta MTB Bontrager XR2 Team Issue TLR",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "13976",
"name": "Llanta XR1 Comp para MTB de niños de Bontrager",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "00428",
"name": "Llanta Connection Trail de Bontrager",
"price": "31.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}