| 开发者 | cmplyapp |
|---|---|
| 更新时间 | 2026年8月15日 19:21 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<head> so that configured third-party scripts can be controlled before they execute.
The SDK is intentionally loaded without defer or async, because delayed execution could allow tracking scripts to run before the visitor's consent preferences are known.
Advanced options include:
Yes. The WordPress plugin connects your website to the CMPly consent management platform. An advanced manual Site ID setup is also available.
Yes. CMPly can scan your website for cookies, trackers, and third-party services so they can be reviewed and classified.
CMPly can block configured non-essential scripts until the visitor provides the required consent.
Yes. Global and regional Google Consent Mode v2 settings can be configured for your connected website directly from WordPress.
Yes. Banner appearance, content, and consent settings are managed from your CMPly account.
Yes. CMPly can automatically use the visitor's browser language, and a specific language can also be configured.
CMPly needs to execute early during page loading so it can prevent configured third-party scripts from running before consent. Loading it with defer or async could make prior-consent blocking less reliable.
Turn off Auto-inject SDK in Settings > CMPly and keep the manual script near the top of the document head. Keep only one CMPly SDK script on the page.
The button opens the CMPly web app with your WordPress site URL, return URL, and a signed WordPress callback-state token that expires after 30 minutes. CMPly separately returns a ten-minute, single-use authorization code. WordPress exchanges that code with CMPly over HTTPS and stores the resulting credentials server-side.
Yes. Add one path per line in Exclude Paths, for example:
/checkout/*
The WordPress plugin stores only its admin settings in the WordPress database. The public consent cookie is created by the CMPly SDK in the visitor's browser.
cmply slug or connection behavior.