| 开发者 | mxwebstudio |
|---|---|
| 更新时间 | 2026年12月2日 16:39 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[saglasno_podesavanja] shortcode or any link to #sgl-settings.<head>, wait_for_update, ads_data_redaction, url_passthrough.[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).odluka folder to /wp-content/plugins/.No plugin can do that on its own. Odluka is a technical tool and does not give legal advice. The website owner is responsible for the content of the website and for how personal data is processed. Have your policies reviewed by a lawyer. (Srpski: Plugin nije pravni savet; za sadržaj sajta i obradu podataka odgovara vlasnik sajta.)
The policy shortcodes already show your company details, the cookie table and the list of services. The legal text of each section is marked as a draft ("NACRT") until it has been reviewed by a lawyer and added by the plugin owner.
Check that the service is ticked on the Services tab. If it is not in the list, add it under "Other services" with a pattern (part of the script address). Developers can also mark a script themselves: <script type="text/plain" data-sgl-category="analytics">...</script>.
Widgets that create the player with JavaScript after the page has loaded cannot be caught in the HTML. Use the standard WordPress embed (or the builder's "embed URL / HTML" option), or add the widget's script as a service.
It is built for page caching: nothing in the page depends on the visitor's choice. When a cached page is older than the security token, the browser asks for a fresh token automatically before recording the choice.
In the cookie settings panel, below the categories. The same ID is shown in Odluka → Consent log.
Odluka is made for Serbian websites, so the banner, the policies and the plugin settings are Serbian by default. The settings are in Latin script, or in Cyrillic when WordPress itself is in Serbian. To follow the WordPress language instead, change Odluka → Settings → General → "Front-end language" and "Language of these settings".
The visitor's choice is stored in the first-party cookie sgl_consent (consent ID, categories, version, time). The consent log stores the consent ID, time, action, categories, versions, the page address without query string, the country code from CDN headers if available, and the IP address as a salted hash or shortened (configurable, or nothing).
Saglasno.open(), Saglasno.getConsent(), Saglasno.hasConsent('analytics'), event saglasno:consent on document, dataLayer event sgl_consent_update.saglasno/services_catalog, saglasno/script_categories, saglasno/consent_mode_map, saglasno/banner_config, saglasno/policy_context, saglasno/policy_template, saglasno/cookie_domain, saglasno/client_ip, saglasno/disable and more.yourtheme/saglasno/legal/rs/cookie-policy.php.