Linux 软件免费装
Banner图

Gravito CMP

开发者 gravito
更新时间 2026年11月26日 07:04
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

cookies gdpr consent cmp iab tcf

下载

1.0.11 1.0.12 1.0.13

详情介绍:

Gravito is a Google and IAB TCF v2.4 certified Consent Management Platform. This plugin lets you deploy your Gravito CMP banner on a WordPress site without editing theme files. How it works
  1. Design and deploy your CMP in the Gravito portal.
  2. Copy the WordPress token the portal gives you.
  3. Paste it into the plugin's settings page, click Validate, then click Deploy.
The plugin injects the Gravito CMP script into the <head> of every page. Republishes in the portal are picked up automatically — no re-paste needed. Features Requirements Remote services This plugin loads one JavaScript file from the Gravito CDN (cdn.gravito.net) when the CMP is deployed. The URL is derived from the token you paste. No visitor data is sent by the plugin itself — the CMP handles consent collection according to IAB TCF v2.4. Terms: https://www.gravito.net/terms Privacy: https://www.gravito.net/privacy

安装:

  1. Upload the gravito-cmp folder to /wp-content/plugins/, or install through the WordPress plugin directory.
  2. Activate the plugin.
  3. In WordPress admin, go to Gravito CMP in the sidebar.
  4. Paste your token from the Gravito portal, click Validate Token, then Deploy CMP.

屏幕截图:

  • Validation and deploy.
  • Preferences link block in the editor.

常见问题:

Where do I get a token?

Log in to the Gravito portal, design your CMP, deploy it, and copy the WordPress token.

Do I need to re-paste the token after republishing in the portal?

No. The token encodes a stable path, and the CDN serves the latest version automatically.

Can I open the preferences dialog from a link in my own menu?

Yes. Add onclick="window.gravito.cmp.openPreferences(); return false;" to any link, or use the [gravito_preferences] shortcode.

Does the plugin work on multisite?

Yes. Each site in a network configures its own token independently.

Where does the CMP script load from?

https://cdn.gravito.net/cmpconfigs/gravitocmp/{your-uuid}/{build}/latest.js

Does the plugin support the WP Consent API?

Yes. With the WP Consent API plugin active, Gravito registers as the consent management plugin and passes each visitor's choices to the API. The WordPress categories follow the Google Consent Mode mapping in your Gravito configuration: ad storage sets marketing, analytics storage sets statistics, functionality and personalization storage set preferences, and functional is always allowed.

更新日志:

1.0.13 1.0.12 1.0.11