Odluka – Cookie Consent for Serbia
Cookie banner, script blocking until consent, consent log and Google Consent Mode v2 for websites in Serbia.
Install in
Na srpskom: Odluka je dodatak za sajtove u Srbiji: baner za pristanak na kolačiće („Prihvati sve“ i „Odbij sve“ jednako vidljivi), blokiranje Google Analytics-a, Meta Pixel-a, YouTube-a i drugih servisa do pristanka, evidencija pristanka, Google Consent Mode v2 i kratki kodovi za politiku kolačića i politiku privatnosti. Dodatak sam pronalazi servise na sajtu i upozorava ako je aktivan drugi baner za kolačiće. Sve je na srpskom (latinica ili ćirilica), i baner i podešavanja, čak i kada je WordPress na engleskom. Dodatak ne šalje nikakve podatke na spoljne servere i nije pravni savet.
Odluka helps websites in Serbia handle cookie consent under the Serbian Personal Data Protection Act (ZZPL). The banner, the policies and the plugin settings are in Serbian (Latin or Cyrillic) by default, even when WordPress is in English. Bosnia and Herzegovina, Montenegro and North Macedonia will follow.
Easy setup
- “Find services on this website” loads the home page and two linked pages of your own website and suggests which services from the list to tick.
- A warning when another cookie banner plugin (CookieYes, Complianz, Cookiebot…) is active, so visitors are not asked twice.
- A short “First steps” list in the settings shows what is still missing.
Banner and settings panel
- “Accept all” and “Reject all” are equally visible; “Settings” opens a panel with a switch per category.
- Categories: necessary (always on), functional, analytics, marketing. Optional categories are never pre-selected.
- Bottom bar or centred window, your colours and texts (defaults are translated automatically).
- Keyboard and screen reader friendly: focus moves into the banner, dialogs have proper roles, contrast warnings in the settings.
- The choice can be changed at any time: floating button,
[saglasno_podesavanja]shortcode or any link to#sgl-settings.
Blocking until consent
- Scripts from known services (Google Analytics 4, Google Tag Manager, Google Ads, Meta Pixel, TikTok, LinkedIn, Pinterest, Hotjar, Microsoft Clarity, Matomo…) do not load until their category is allowed.
- Works for enqueued scripts and for scripts written directly in the theme (optional, through the template output buffer of WordPress 6.9+).
- YouTube, Vimeo, Google Maps and similar embeds are replaced with a placeholder and a “Load content” button.
- After consent everything is activated without reloading the page. After a withdrawal, first-party cookies of the services are deleted and the page reloads with a short notice.
- Services that are not in the list can be added by hand.
Google Consent Mode v2
- Default state (everything denied except security) printed at the very top of
<head>,wait_for_update,ads_data_redaction,url_passthrough. - Updates after the choice: analytics analytics_storage; marketing ad_storage, ad_user_data, ad_personalization; functional functionality_storage, personalization_storage.
Consent log
- Every choice is recorded with an anonymous consent ID, time (UTC), action, categories, policy and banner version, page and country (from CDN headers).
- The IP address is stored only as a salted SHA-256 hash or shortened, or not at all.
- Admin list with filters and pagination. Old records are deleted automatically.
Policies
[saglasno_politika_kolacica],[saglasno_politika_privatnosti]and[saglasno_tabela_kolacica]: templates combined with your company details and the selected services, including an automatic cookie table (service, purpose, category, duration, transfer outside Serbia).- Changing the policy version asks every visitor for consent again.
Latin and Cyrillic
Serbian texts of the banner and the policies can be shown in Latin or Cyrillic. Transliteration is built in; brand names, cookie names, URLs and e-mail addresses stay as they are.
Cache friendly
The banner is rendered in the browser and the page HTML is the same for every visitor, so one visitor’s choice is never cached for another. The consent scripts are added to the JavaScript exclusion filters of WP Rocket, LiteSpeed Cache, SiteGround Optimizer and Autoptimize.
No external requests
Odluka does not contact any external server, has no tracking and no ads in the dashboard. The only requests it makes go to your own website, when you click “Find services on this website”.
Written by Joobi from the project's own listing. See the source page
0.1.9
- New: “Find services on this website” on the Services tab suggests which services to tick (only your own website is loaded).
- New: warning when another cookie banner plugin is active.
- New: “First steps” list in the settings.
- Readme and translation file details after the rename to Odluka.
0.1.8
- New name: Odluka – Cookie Consent for Serbia (slug and text domain odluka).
- Requires WordPress 6.9: scripts written directly in the theme are processed through the template output buffer of WordPress.
- Translations: the bundled Serbian file is used only when no language pack is installed.
- Readme: more precise description of how the plugin handles page caching.
0.1.5
- Banner text uses the legal term “pristanak” (consent).
- Author: MX Web Studio.
0.1.3
- Catalog: Jetpack Stats, Gauges, Sign in with Google, HighLevel review widget, Calendly, Stripe; Google tag IDs (GT-) used by Site Kit by Google.
0.1.2
- Cookie table: cookie names never break in the middle, durations are grouped, and in a narrow content column (block themes, phones) each service is shown as a card.
0.1.1
- Plugin settings are in Serbian by default, even when WordPress is in English (new setting “Language of these settings”); Cyrillic when WordPress itself is in Serbian.
- Serbian terms in the translation (“kratki kod”, “dodatak”); translated plugin description on the Plugins screen.
- Fixed the width of the checkbox column in the Services table.
0.1.0
- First version: banner and settings panel, blocking of scripts and embeds, consent log, Google Consent Mode v2, policy shortcodes, Latin / Cyrillic, Serbian translation.
Follow this listing's changes (Atom feed)