Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "36235",
"name": "Electra Townie Go! 7D & Cruiser Go! Light Kit",
"price": "2300.0",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "28142",
"name": "Světlo k instalaci na zadní blatník Pixeo XD Dynamo 2800 mm",
"price": "520.0",
"brand": "Electra",
"category": "Bike lights",
"variant": "red_black",
"list": "More Options",
"position": 2
}
,
{
"id": "31092",
"name": "Zadní světlo Spanninga Presto EX Guard na elektrokolo",
"price": "330.0",
"brand": "Electra",
"category": "Bike lights",
"variant": "black_red",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}