Description
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
- Design and deploy your CMP in the Gravito portal.
- Copy the WordPress token the portal gives you.
- 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
- Single-field token-based setup
- Token validation (checks the Gravito CDN responds)
- One-click deploy / undeploy
[gravito_preferences]shortcode to open the preferences dialog from anywhere- Gutenberg block for the preferences link
- Optional auto-injected “Cookie preferences” link in the footer
- Multisite friendly (per-site configuration)
Requirements
- A Gravito account and a deployed CMP configuration in the Gravito portal
- Domain validation, done by adding DNS entries to the domain where the Gravito CMP will be deployed
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
Screenshots



Blocks
This plugin provides 1 block.
- Preferences Link
Installation
- Upload the
gravito-cmpfolder to/wp-content/plugins/, or install through the WordPress plugin directory. - Activate the plugin.
- In WordPress admin, go to Gravito CMP in the sidebar.
- Paste your token from the Gravito portal, click Validate Token, then Deploy CMP.
FAQ
-
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.
-
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
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Gravito CMP” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Gravito CMP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.12
- Updated description to IAB TCF v2.4.
- Clarified requirements: Gravito portal link and DNS-based domain validation.
1.0.11
- Initial public release.
