WordPress Integration
Last updated: July 1, 2026
Use this guide to install CYBEXO Runtime Suite on WordPress with the public Cybexo CMP plugin.
1. Plugin Details
Section titled “1. Plugin Details”| Property | Value |
|---|---|
| Plugin name | Cybexo CMP |
| WordPress slug | cybexo-cmp |
| Listing | wordpress.org/plugins/cybexo-cmp |
| Requires WordPress | 5.8 or higher |
| Requires PHP | 7.4 or higher |
| Script id | cybexo-cmp |
| Loader | https://cmp.cybexo.com/loader.js |
2. Install
Section titled “2. Install”- In WordPress Admin, go to Plugins -> Add New.
- Search for Cybexo CMP.
- Install and activate the plugin.
- Open Cybexo CMP in the WordPress admin menu.
- Enter your CYBEXO Settings ID.
- Keep Auto-inject CMP Script enabled unless you are using a different integration path.
3. Runtime Behavior
Section titled “3. Runtime Behavior”When auto-injection is enabled, the plugin:
- adds the CYBEXO loader through WordPress script APIs
- writes a single loader tag with
id="cybexo-cmp" - supports Google Consent Mode v2 defaults when enabled
- exposes a WordPress Consent API bridge for compatible plugins/themes
- provides admin reset and debug tools for QA
Example generated loader shape:
<script id="cybexo-cmp" data-settings-id="YOUR_SETTINGS_ID" data-api-url="https://api.cybexo.io" data-assets-url="https://cmp.cybexo.com" data-plugin="wp-VERSION" src="https://cmp.cybexo.com/loader.js?ver=VERSION"></script>4. Shortcodes
Section titled “4. Shortcodes”[cybexo_cmp]ensures the loader enqueue path is available.[cybexo_preferences]renders a preferences link.
Legacy shortcode aliases may remain available for existing sites, but new implementations should use the CYBEXO names above.
5. Verification
Section titled “5. Verification”Run these checks on a public front-end page.
document.getElementById("cybexo-cmp")performance.getEntriesByType("resource").filter(r => r.name.includes("cmp.cybexo.com/loader.js"))(window.dataLayer || []).filter(x => x && x[0] === "consent" && (x[1] === "default" || x[1] === "update"))fetch("/wp-json/cybexo-cmp/v1/wpca-status").then(r => r.json()).then(console.log)Pulse and Command Center should show:
- installed: yes
- surface: WordPress
- runtime contract: pass
- loader version/build when available
- Consent Mode status when enabled
6. Troubleshooting
Section titled “6. Troubleshooting”| Issue | Likely cause | Fix |
|---|---|---|
| Banner not visible | Existing consent, non-banner region, cache, or invalid Settings ID | Reset consent, test in incognito, verify Settings ID |
| Duplicate banner | Plugin and manual loader both active | Keep one integration path |
| No Consent Mode default | Option disabled or script ordering conflict | Enable Consent Mode and retest |
| Pulse cannot detect WordPress surface | Page cache or optimization removed script attributes | Purge cache and confirm loader tag attributes |
7. Uninstall
Section titled “7. Uninstall”Deleting the plugin removes plugin-owned settings. Visitor-side browser storage is controlled by the runtime and can be reset through the plugin QA tools or browser storage controls.