Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "22246",
"name": "Soporte de luz Blendr Ion para carretera",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22251",
"name": "Bontrager Blendr High Ion Light Mount",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "22247",
"name": "Blendr MTB Soporte Luz Ion",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "24663",
"name": "Soporte para accesorio de asiento Bontrager Blendr",
"price": "8.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "26815",
"name": "Soporte de luz Bontrager Blendr Universal",
"price": "27.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "36285",
"name": "Bontrager Blendr Low Commuter Light Mount",
"price": "11.99",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "27711",
"name": "Abrazadera de luces traseras Bontrager Quick Connect",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "14650",
"name": "Abrazadera de luz delantera Bontrager Quick Connect",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}