| 开发者 | consenta |
|---|---|
| 更新时间 | 2026年9月16日 21:04 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<script src="https://cdn.consenta.se/snippet.js?key=YOUR-KEY"></script> in the head of every public page.https://cdn.consenta.se/snippet.js?key=YOUR-KEY in the visitor's browser. The script shows the cookie banner, records the visitor's consent choice with the Consenta API at api.consenta.se, and signals the choice to Google tags through Consent Mode v2. Consenta processes the visitor's consent choice, the page address and the API key that identifies your site. Only the visitor's browser communicates with Consenta. The WordPress server itself never contacts Consenta, and the plugin does not collect or send any data from your WordPress installation.
Log in at https://app.consenta.se and copy the key shown for your site. It is a 36 character UUID.
No. The plugin only prints the script tag. The banner itself is delivered by the Consenta service and requires an account.
No. The plugin never contacts Consenta from the server. Only the visitor's browser loads the script and records the consent choice.
In the head, at wp_head priority 1, so it runs before Google tags added by themes or other plugins.
The saved API key is removed from the WordPress database. Nothing else is stored.