Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "26259",
"name": "Hlavové složení Electra Townie Zero Stack, částečně integrované se závity",
"price": "800.0",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "35971",
"name": "Electra Townie Commute Go! Locking Headset",
"price": "520.0",
"brand": "Electra",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "21507",
"name": "Electra Townie Headset Covers",
"price": "440.0",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "41764",
"name": "Electra 1-1/8" Threadless External Cup Headset",
"price": "330.0",
"brand": "Electra",
"category": "Bike headsets",
"variant": "greylight",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}