| 开发者 | hamzaahmadaslam |
|---|---|
| 更新时间 | 2026年11月13日 06:01 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<head> on every front-end page.[cchq_cookie_table] shortcode: shows the cookies found on your site, grouped by category, on your cookie policy page.https://cdn.cookieconsenthq.com/. The banner asks https://api.cookieconsenthq.com/ which region the visitor is in, to show the right banner, and sends each consent decision there (a random consent ID, the categories chosen, the page path, the region, the banner version and A/B test variant shown, and whether a Global Privacy Control signal was present; the service stores a shortened IP address and a hash of the browser's user agent) so you can show when and how consent was given. On about 1 in 100 page views the banner also sends your site key to https://api.cookieconsenthq.com/pv, with no visitor data, to count page views against your plan. Nothing is loaded until you paste your site script URL in Settings → CookieConsentHQ.
https://cdn.cookieconsenthq.com/s/sk_xxxxxxxx.js.[cchq_cookie_table] to your cookie policy page.No plugin can do that on its own. CookieConsentHQ helps you comply: it asks for consent, blocks trackers until visitors agree, and keeps a record of each choice. Whether your site complies also depends on what it does with the data and what your privacy policy says.
Yes. The banner, its settings and your consent records live in your CookieConsentHQ account. The plugin connects your WordPress site to it.
Not unless you choose to. The banner leaves out its "Powered by CookieConsentHQ" link on sites that use this plugin. If you want to show it, tick "Show a Powered by CookieConsentHQ link in the banner" under Settings, CookieConsentHQ. The link is marked nofollow.
On every front-end page. It is not added to the admin area, feeds, REST API responses, or AMP pages (AMP pages cannot run the banner script).
Yes. You can paste the script URL, the full <script> tag from the Install tab, or just the site key; the plugin saves the site key.
Yes. Because the banner loads before Google Tag Manager, it sets Consent Mode defaults before any Google tag runs. If you prefer to load the banner from Google Tag Manager instead, download the CookieConsentHQ Google Tag Manager template from https://cookieconsenthq.com/integrations/google-tag-manager (it is not yet in the Community Template Gallery) and do not use this plugin on the same site.
[cchq_cookie_table] shortcode.