Gravito CMP

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

  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

  • 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

Captures d’écran

Blocs

Cette extension offre 1 bloc.

  • Preferences Link

Installation

  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.

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.

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

Avis

Il n’y a aucun avis sur cette extension.

Contributeurs & développeurs

« Gravito CMP » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Gravito CMP » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Historique des changements

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.