Written by
Uliana Lesiv
Key takeaways
This article will be useful for WordPress website owners, digital marketers, and marketing specialists, who need to implement consent management, and ensure privacy compliance. It is particularly relevant for businesses using analytics, advertising, and server-side tracking.
A cookie banner, consent notice, and a CMP serve different purposes. So, before configuring consent management for WordPress website, it's important to understand the difference.

A cookie banner is the interface visitors see when they visit your website. It provides info about tracking technologies that are used on the website (like cookies). Via WordPress cookie banner, users can make a choice (such as accepting all, rejecting non-essential consent categories, or opening detailed preferences).
However, displaying a banner doesn't automatically control all cookies and scripts on your website. You also need to ensure that visitors' choices are communicated to your tracking tools (e.g., Google Analytics 4, Google Ads, and Meta Ads) and that these tools respect the applicable consent preferences.
Cookie banner is used when:
WordPress website has analytics, advertising, personalization, or other tools that require consent before collecting data. Cookie banner is commonly used for websites that have visitors in the EU and UK and need to comply with GDPR. It’s often managed and deployed via CMP.

A consent notice is a short message displayed to inform visitors about your website's privacy practices or the use of cookies and other tracking technologies. Unlike a consent banner, it doesn't necessarily ask visitors to accept or reject consent categories.
Depending on your CMP configuration, a notice can only provide privacy information and allow visitors to dismiss it. If a website visitor closes or dismisses the notice, this may be treated as a decision, but it does not automatically mean that they agree to the use of non-essential cookies.
Consent notice is used when:
You only need to inform website visitors about the website's privacy practices or the use of cookies and tracking technologies. Consent notices are commonly used for businesses subject to US state privacy laws (e.g., CCPA/CPRA, VCDPA, CPA, and CTDPA).

A CMP is a broader consent management solution. It includes a consent notice, banner and preferences interface, but also manages consent categories, stores visitor choices, applies regional settings, and communicates consent signals to third-party platforms.
A CMP can help you:
A CMP is used when:
WordPress website has multiple analytics and advertising tools configured (e.g., GA4, Google Ads, Meta Ads, Twitter Ads,etc.), works with third-party vendors, serves visitors from different regulatory regions, and/or needs standards such as Google Consent Mode v2, IAB TCF, or IAB GPP.
There are several ways to add a cookie banner or notice, and manage visitor consent on a WordPress website. You can use a WordPress plugin, add custom code to your website, deploy a banner through GTM, or use an external consent management solution.
The WordPress consent management plugins usually provide a standard banner with Accept, Reject, and Customize options. Their functionality is often limited, but some plugins also let you configure consent categories, store visitor choices, block selected scripts, and integrate with Google Consent Mode v2.
| Plugin advantages | Plugin disadvantages |
| - Can be configured without coding. - Ready-to-use banner templates. - Consent settings can usually be managed directly from the WordPress dashboard. | - Features vary significantly between plugins. Some only display a banner and don't provide complete consent management. - Additional plugins can affect website performance and require manual updates. - Compatibility issues may occur with caching, optimization, themes, or other plugins. - Advanced integrations and regional consent configurations may require paid plans. |
Some CMP providers give you an installation script that can be added directly to your WordPress website code (in the header or body). Once installed, the script loads the banner and handles consent collection. You manage the banner and consent settings through the CMP's dashboard.
| Code editing advantages | Code editing disadvantages |
| - Straightforward installation if there's access to the website's code. - Consent settings and banner customization are managed through the CMP account. | - You need to make sure the script is added correctly and loads on all relevant pages. - Theme changes or website updates may affect the CMP installation. - You may need additional configuration to integrate the CMP with tracking tools. |
Often, the CMP providers offer a dedicated Google Tag Manager tag template that you can install from the GTM Template Gallery or import into a container. After the configuration, the tag loads the consent banner and communicates visitor choices to third-party tracking tags through GTM.
| GTM tag advantages | GTM tag disadvantages |
| - Uses a ready-to-configure template. - Usually can be integrated with Google Consent Mode, depending on the template's capabilities. | - Scripts loaded outside GTM may require additional configuration to respect consent choices. - Available integrations depend on the CMP provider's template. |
Another option is to use a CMP that integrates with your website through an external service. For example, Stape's CMP is configured directly in your Stape account and deployed through a free solution – Stape's Custom Loader power-up.
Looking for an easy way to add a cookie banner to WordPress?
Try Stape’s CMP – a simple way to manage website consent without installing another WordPress plugin or manually editing your website code. Enjoy CMP at no additional fee.
Stape's CMP is a consent management solution that is integrated with server-side tracking infrastructure. It helps website owners collect and manage visitor consent, control tracking based on visitors' choices, and sends consent signals to advertising and analytics platforms.

For WordPress sites, Stape’s CMP provides an alternative to installing and maintaining a separate WordPress CMP plugin. You configure the CMP in your Stape account. The CMP script is served through a first-party domain route, which reduces the impact of ad blockers on data tracking. Besides avoiding the CMP script blocking, you make the data tracking more reliable and improve business metrics.
A Danish eyewear retailer who runs a WordPress website improved its marketing attribution after implementing server-side tracking with Stape. The setup included the Stape Conversion Tracking plugin, Custom Loader, and Cookie Keeper.
The business owner has reported such an impact on data tracking and metrics:
The case shows how improving tracking accuracy can help WordPress businesses better understand marketing performance and make more informed advertising decisions.
Stape's CMP is a good choice for WordPress websites that need more than a basic cookie banner or notice. It combines consent management with integrations into a data tracking system.
Before configuring, ensure that you have an active Stape account and that the Custom Loader power-up has already been installed in your Stape container.
Simplify your tracking setup with the Setup Wizard!
The Setup Wizard helps you build and configure your web and server-side GTM templates step by step. Connect your WordPress website to get your tracking configuration up and running at no additional cost.
1. Activate a CMP in Stape account.
Sign in to your Stape account and select the relevant sGTM container → navigate to the CMP tab in your container settings → click Add CMP → enter the website URL, then select Create CMP to generate a CMP configuration.

2. Configure integrations and consent signals required for your tracking setup.
Note:
This setup below is focused on the CMP settings and configuration steps that are particularly important for configuring WordPress cookie banners. For a more comprehensive overview of CMP setup, including cookie scanning, consent categories, banner design and customization, regional configurations, and additional integrations, see our Stape’s CMP configuration guide.
Turn on the options that match your WordPress tracking requirements:

3. Navigate to the Stape Conversion Tracking app for WordPress, in its settings make sure that option "Load GTM with consent" is turned off.
If you don't disable the checkbox, the WordPress app may prevent GTM from loading whenever a visitor rejects even one consent category. As a result, the Custom Loader won't load either, meaning the CMP script won't be initialized and the consent banner won't be displayed. This creates a loop: visitors cannot see the consent banner or update their preferences, while GTM and the Custom Loader are blocked.

4. Double-check the Stape container identifier.
Be sure to add a correct Container identifier (if you host a few containers on Stape). The Container identifier can be found in the "Settings" tab of sGTM container.

5. Specify the privacy-related information.
This data will be be displayed to website visitors on the banner:

6. Check the scanning results and add the detected cookies to your setup in a few clicks.
If the cookies are in Stape’s library, you can quickly add them by selecting the item and clicking “Add from the library”.

If some cookies aren’t available in Stape library, you can add them manually by clicking “+”. Be sure to select a provider and purpose then click “Create”.

Later, all the cookies can be added manually via the “Cookies” tab if needed.

7. Customize the consent banner.
In the “Consent Builder” you can adjust how the cookie banner looks and review how it will be displayed to users based on the regulation, device type.

These are the basic settings; if you don’t need to display the banner in other languages, manually add cookies or change existing settings, click “Publish”.
After publishing, adjust web GTM settings (we explain how to do it in the text step).

8. Modify web GTM settings.
Stape’s CMP doesn’t require any additional tags or platform app configuration. However, to ensure compliant tracking, you need to update the relevant tags in your web GTM container.
The required configuration depends on the integrations enabled under “Integrations & Consent Signals” and the tags implemented on your website.
Expand the relevant sections below to view the instructions for configuring your web GTM settings.
To simplify the debugging process, we’ll use the Stape Chrome extension. It allows us to debug the checkout page and provides several additional tools, including entity filtering, request URL formatting, website tracking scans and analysis, and consent status monitoring in server-side GTM.
For more information on the extension’s features, see the Stape Chrome extension guide.
1. Run Preview mode in both your web and server GTM containers.

2. Interact with the banner (e.g., accept or deny all cookies).

3. Return to the Preview window of the web GTM container.
If you enableв the Push dataLayer event option in Stape CMP settings, the stape_cmp_consent_update event should appear immediately after the Consent Update event.
If you configured web GTM using the Setup Wizard, the stape_consent_update event will be pushed instead.
Open the relevant event and navigate to the Consent tab. Check the following:

Ensure that the consent state is updated before any other tracking events are processed (e.g., page_view or add_to_cart). This ensures that analytics and marketing tags honor the visitor’s consent preferences from the very beginning of the session.

If visitors change their preferences in the cookie banner, for example, by rejecting previously accepted cookie categories, the stape_cmp_consent_update event should fire again.

The values in the Consent tab should then reflect the visitor's updated consent preferences.
4. Check Consent Status in server GTM.
Next, check the consent status in the Preview mode of your server GTM container.
Due to limitations in sGTM, consent information is not displayed in Preview mode by default. However, you can use the previously mentioned Stape GTM Helper Chrome extension to display consent information.
To enable this feature, open the extension’s Settings tab and turn on Consent mode server side.

Verify that the server GTM Preview receives requests with consent statuses matching those shown in web GTM.
This confirms that consent information is correctly transferred between the containers and that all tracking respects visitors’ privacy preferences.
Stape CMP includes a Consent logs tab.
The primary purpose of Consent logs is to support regulatory compliance. They serve as documented proof of visitors' consent choices, helping website owners verify that consent was properly collected if requested by regulators or during an audit. Stape stores consent logs for 3 years.
Beyond their primary compliance purpose, Consent logs can also be useful during the testing and after your cookie banner goes live. In this tab you can verify that consent is being recorded correctly.

Use Consent logs to:
To manage consent effectively, WordPress website owners need to ensure that visitors can make informed decisions and that their preferences are respected by all analytics, advertising, and tracking tools.
WordPress offers several ways to implement consent management, including dedicated plugins, custom code, and GTM templates. The right approach depends on your website's tracking setup, integration requirements, and the regions in which your visitors are located.
Stape's CMP is an alternative to installing a separate WordPress cookie banner plugin. It allows you to manage consent preferences, configure regional settings, integrate with Google Consent Mode v2, and communicate consent signals to the tracking infrastructure from one place.
Want to start on the server side?
Try for freeOct 2, 2026
Blog
Make Google Tag Manager GDPR compliant: consent signals, CMP setup, Consent Mode v2, common mistakes, and server-side tracking for full control.
Nov 23, 2026
Comments