Informacje ogólne
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "47225",
"name": "Torebka narzędziowa Trek BITS",
"price": "99.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "47226",
"name": "Torba montowana wewnątrz ramy Trek BITS",
"price": "79.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "529.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "259.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "21794",
"name": "Torba z narzędziami Bontrager Pro Flat",
"price": "229.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}