Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "31487",
"name": "Electra Vale Go! RIB Battery Cover",
"price": "3850.0",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "tan",
"list": "More Options",
"position": 1
}
,
{
"id": "34395",
"name": "Electra Townie Path Go! Battery Cover",
"price": "3850.0",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "greendark",
"list": "More Options",
"position": 2
}
,
{
"id": "36011",
"name": "Electra Bottom Monostay Plug",
"price": "140.0",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36010",
"name": "Electra Rear Monostay Plug",
"price": "140.0",
"brand": "Electra",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}