Linux 软件免费装
Banner图

CMPly

开发者 cmplyapp
更新时间 2026年8月3日 20:56
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

cookies gdpr cookie banner consent cmp

下载

1.0.21 1.0.18 1.0.19 1.0.20

详情介绍:

CMPly connects a WordPress site to CMPly.app. The plugin prints the CMPly SDK in the public <head> at a very early priority and intentionally does not add defer or async, matching CMPly's recommended integration for blocking third-party scripts before they execute. Features: This plugin requires an active CMPly.app site configuration. CMPly provides the consent banner, consent storage, cookie/provider metadata, and related consent-management functionality.

安装:

  1. Upload the plugin folder to /wp-content/plugins/cmply.
  2. Activate "CMPly" in WordPress.
  3. Go to Settings > CMPly.
  4. Click "Connect to CMPly" or paste the Site ID from the CMPly dashboard.
  5. Save settings and clear any page cache.

常见问题:

Why is the script not loaded with defer?

CMPly must execute during HTML parsing so it can intercept and block third-party scripts before they run. Adding defer or async would make blocking less reliable.

What if I already added the CMPly script manually?

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.

How does the Connect button work?

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.

Can I disable CMPly on specific pages?

Yes. Add one path per line in Exclude Paths, for example: /checkout/*

Does this plugin set cookies by itself?

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.

更新日志:

1.0.21 1.0.20 1.0.19 1.0.18 1.0.17 1.0.16 1.0.15 1.0.14 1.0.13 1.0.12 1.0.11 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0