Custom Integrations

WordPress & Usercentrics Contractor

Fractional contractor support for businesses working with WordPress and Usercentrics together.

MIT Technology Review Puck.news Cred.ai MIT TripAdvisor NetBrain

Usercentrics is a consent management platform that puts a cookie consent banner on a WordPress site, holds third-party tracking scripts until a visitor agrees, and passes that choice to Google Tag Manager and Google Consent Mode v2.

I set up and audit Usercentrics as part of my cookie compliance and website privacy consulting.

Built in Production, Not Theory

I've been building custom WordPress integrations since 2008. That includes Usercentrics work in production for clients like Cramer: real builds, not plugin installs.

Madrigal Patient Support website built for Cramer: a framework-free custom WordPress theme serving separate patient and healthcare professional experiences with a Veeva Vault Access Reimbursement Manager form
Full Portfolio

Support

This is for teams that need a consent banner working correctly on a WordPress site, especially regulated or enterprise sites. I handle the implementation so consent is actually enforced.

  • CMP loader implementation: Load the Usercentrics script from the theme or a small plugin, early in the head and before any tracking script.

  • Google Tag Manager consent wiring: Use the Usercentrics GTM template or a default-consent snippet so Google tags respect consent.

  • Staging audit: Check the staging site for scripts that fire before consent and gaps in blocking.

  • Launch checks: Confirm draft mode is off on production and that the CMP and GTM go live in the right order.

  • Script blocking: Set up auto-blocking or manual blocking so third-party scripts wait for consent.

  • Account and product check: Confirm whether you hold Usercentrics Web CMP or Cookiebot before any work starts.

Experience

My Usercentrics work has been for Cramer, a B2B brand experience agency in Norwood, Massachusetts. In 2026 I built the Madrigal Patient Support site for its Cramer Health group, a regulated pharmaceutical property for Madrigal Pharmaceuticals (there is a case study of the build on this site). Consent management was one part of getting that site ready to launch.

Cramer's team already held the consent platform account and supplied cookie consent documentation as part of the project handoff, so my job was to wire it into the WordPress theme correctly, not to set up the vendor account. In April 2026 I added the cookie banner to the site and then audited the staging site for gaps: whether the CMP, Google Tag Manager, and the analytics tags were all present and loading as intended. I wrote up recommendations for how the Usercentrics script and the GTM container should be loaded from WordPress, so that the banner appears before any tracking fires.

Before launch I confirmed that the CMP loader was implemented correctly in the theme. I also flagged what had to be handled at handoff: the draft-mode setting on the loader, which is for previewing unpublished banner changes and has to be off on production, and the order in which the CMP and GTM would go live. After the site launched in spring 2026, I checked the live URL and confirmed Usercentrics was working as expected, as part of a launch verification that also covered redirects, robots rules, and a full crawl.

That is my Usercentrics work so far: one client, one launch. My work here has focused on launch implementation rather than ongoing consent configuration, such as maintaining the service list or the banner copy.

Approach

Usercentrics is not a WordPress product. It is a script that loads from Usercentrics' servers and a configuration you manage in their admin interface, so every WordPress connection comes down to getting that script onto the page early, before any tracking script, and keeping it there. The paths that exist:

  • Direct script tag. In the Usercentrics admin you copy the loader script, which carries your settings ID, and place it in the site's <head>. This is the route Usercentrics documents for its current Web CMP (CMP v2), and in WordPress it means loading the script from the theme or a small plugin. Done properly, that is a registered script hooked into wp_head at an early priority, not a pasted line in header.php.

  • Official Usercentrics plugin (legacy). The wordpress.org plugin named "USERCENTRICS CMP" (version 1.0.9, last updated August 2021, under 1,000 active installs) takes a settings ID and embeds the CMP automatically. WordPress.org warns that it has not been tested with the latest three major WordPress releases and may no longer be maintained. Usercentrics' own guidance is that CMP v2 users add the script tag manually, so I would not build a new site on this plugin.

  • Cookiebot by Usercentrics plugin. The plugin called "Cookiebot" on wordpress.org (full title: Cookie Banner & Cookie Consent for GDPR, CCPA & Google Consent Mode) is actively maintained (version 4.8.1 as of November 2026, 100,000+ active installs). It is for the Cookiebot product, not Usercentrics Web CMP. It scans and blocks cookies, supports Google Consent Mode v2, registers with the WP Consent API, and has add-ons for common WordPress plugins such as MonsterInsights and PixelYourSite.

  • Google Tag Manager. Usercentrics provides a GTM template that sets default consent states and updates them when a visitor chooses, so Google tags inside the container respect consent. Without the template, a default-consent snippet has to run on the page before the GTM container loads. Either way, order of loading is what makes or breaks Consent Mode.

  • Auto-blocking and manual blocking. Web CMP includes an auto-blocker that holds known third-party scripts until consent, and scripts can also be blocked by hand by changing their type attribute until the visitor agrees. Auto-blocking needs the CMP script to load before everything else.

  • Draft and sandbox modes. The loader script accepts a data-draft attribute to display unpublished configuration changes for testing. That attribute belongs on staging only.

There is no content sync or database connection between Usercentrics and WordPress. The consent record lives in Usercentrics, and WordPress only needs to load the script correctly.

Of these paths, I have used the direct loader script on a production WordPress build, alongside Google Tag Manager.

Benefits

  • Consent that actually controls scripts. A banner by itself only shows a message. Usercentrics holds analytics, advertising, and embed scripts until the visitor agrees, which is what privacy regulators and complaint letters look at. A banner that is present while tracking still fires is the worst of both worlds.

  • Google Consent Mode v2 support. Usercentrics is Google-certified for Consent Mode v2, and its GTM template sets default and updated consent states. For any site that runs Google Ads or GA4 to European or UK visitors, that is the difference between measurement that respects consent and measurement that does not.

  • One consent setup across many sites. Usercentrics is built for organizations with several domains, regions, and legal teams. Banner design, languages, and the service list live in the admin interface, so marketing or legal can change them without a WordPress deployment.

  • Compliance staff can work in a tool they already know. Consent logs, banner versions, and service descriptions sit in the vendor's dashboard. That suits regulated industries such as pharma, where legal reviews the wording and needs a record of what was live.

  • A clear testing path. Draft mode and a sandbox let a developer preview banner changes on staging without publishing them. That makes pre-launch checks straightforward, provided the draft attribute is removed for production.

  • A free entry tier. Web CMP has a free tier for a single domain with low monthly traffic, and paid plans include a trial, so a small proof of concept does not need a purchase order.

Fit

A good fit

  • Mid-sized and enterprise companies, agencies, and regulated businesses that need one consent platform across several WordPress sites or regions, with legal sign-off on banner wording.

  • Sites that already run Google Tag Manager, GA4, and Google Ads and need Consent Mode v2 set up properly.

  • Teams whose parent company or client already holds a Usercentrics contract. Using the platform they have beats introducing another one.

Consider something else

  • A small brochure or blog site with a handful of pages. Cookiebot by Usercentrics (free up to 50 subpages) or a lighter WordPress-native plugin such as Complianz or CookieYes is simpler, and you get a maintained plugin that handles most of the setup.

  • A site that needs a US-only notice and opt-out link with no EU traffic. A lighter tool may do the job for less. Check with counsel, because the rules differ by state.

  • A team with no developer access to the theme. Without a way to load the script early, auto-blocking and Consent Mode will not work reliably.

Pitfalls I watch for

  • The script loading too late. If a caching plugin, tag manager, or theme loads analytics ahead of the CMP, scripts fire before consent. The CMP must come first in the head, and the same applies on any staging or preview copies.

  • Draft or sandbox attributes left in production. Visitors would see unpublished configuration, so check the script tag at launch.

  • Banner present, nothing blocked. Open the site in a clean browser session, decline the banner, and watch the network and cookie panels. Tracking requests should not appear. It is the first check I would run on any launch.

  • Two consent tools at once. Sites often inherit an older banner from a theme, a marketing platform, or a previous plugin. Running two banners at once confuses visitors and the consent record.

  • Page caching. Full-page caches serve the same HTML to everyone, so consent state has to be handled in the browser rather than rendered into the page on the server.

Overview

Working with WordPress and Usercentrics provides consent-controlled tracking and a recorded consent trail when correctly implemented and integrated. Usercentrics is a consent management platform (CMP): a hosted service that shows a cookie and privacy banner, records visitor choices and controls which scripts run. Its Web CMP suits mid-market and enterprise teams handling GDPR and CCPA/CPRA, and is Google-certified for Consent Mode v2. It merged with Cybot, maker of Cookiebot, in 2021, but they are separate products.

FAQ

Answers to the most common questions I see asked by business owners,
CMOs and CTOs about Usercentrics integrations with WordPress.

Is there an official Usercentrics WordPress plugin?

There is one on wordpress.org, called "USERCENTRICS CMP", but it was last updated in August 2021 and carries a warning that it may no longer be maintained. For the current Web CMP, Usercentrics documents adding the loader script to the site header manually. The actively maintained plugin in this area is Cookiebot by Usercentrics, which is for the Cookiebot product.

What is the difference between Usercentrics and Cookiebot?

Both are owned by the same company after a 2021 merger. Cookiebot is the plug-and-play option, priced per domain by number of subpages, and aimed at smaller sites. Usercentrics Web CMP is aimed at larger organizations and is priced by monthly sessions. They have separate accounts and admin interfaces.

Does Usercentrics support Google Consent Mode v2?
How do I add Usercentrics to a WordPress site without a plugin?

Copy the loader script, which includes your settings ID, from the Implementation section of the Usercentrics admin. Add it to the site's <head> so it loads before any other script, ideally from the theme or a small custom plugin through wp_head, then test with the banner declined to confirm that tracking is blocked.

How much does Usercentrics cost?

Web CMP is priced by monthly sessions and domain count, with a free tier for one domain with fewer than 1,000 monthly sessions, and paid tiers with a 14-day trial; very high traffic is quoted individually. Cookiebot is priced per domain by subpage count and has a free plan for up to 50 subpages. Check the vendor's pricing page for current numbers.

Will a cookie banner slow down my WordPress site?
Does Usercentrics work with full-page caching?

Generally yes, because the banner and consent record are handled in the visitor's browser by the script rather than in server-rendered HTML. Test it with your caching layer before launch, and avoid varying cached pages by a consent cookie unless you have a specific reason, since that can defeat the cache.

Can you set up Usercentrics on my WordPress site?

Yes. I handle the WordPress side: loading the script correctly, wiring it to Google Tag Manager and analytics, testing that scripts are blocked until consent, and the launch checklist. Banner wording and legal choices should come from your counsel or privacy team.

Scott Maxwell, Founder and Managing Partner at Openview Venture Partners
Kevin's ability as a web developer and consultant, along with his eagerness to add value, have been a tremendously valuable asset to our firm and investment companies. His in-depth knowledge of B2B technologies, and straight forward ideas and advice, have been a very strong asset for us.
Scott Maxwell Founder and Managing Partner
OpenView Venture Partners

Need help integrating Usercentrics and WordPress?

If you're integrating your WordPress website with Usercentrics I can help. Schedule a free consultation on Google Meet, or contact me by email directly.

By Email or

Additional Consulting Services

Custom integrations are one slice of a broader practice. I've spent 18+ years as a fractional engineer for marketing and product teams — designing, building, securing, and measuring WordPress platforms end to end.