Informacje ogólne
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44960",
"name": "Torba na bagażnik Trek",
"price": "299.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "22738",
"name": "Torba na bagażnik Bontrager MIK Utility",
"price": "503.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "24465",
"name": "Torba na bagażnik Bontrager City",
"price": "450.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "33172",
"name": "Torba na bagażnik MIK Commuter",
"price": "449.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "33777",
"name": "Electra Charcoal Trunk Rear Rack Bag",
"price": "439.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "35100",
"name": "Bontrager-Electra MIK Stick",
"price": "44.9",
"brand": "Basil",
"category": "Bike bags",
"variant": "grey",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}