Page Builder Sandwich Pro includes a cookie consent banner that you design with blocks, and that really blocks tracking until the visitor agrees.
Create the banner
- Open Page Builder Sandwich → Marketing → Cookie banner and choose **Create a ready-made
banner: a bar at the bottom of the screen with a short text, Analytics and Marketing tick boxes, and Accept all, Save my choice and Necessary only** buttons. Edit it like any popup.
- Switch on Show a cookie banner and choose Save.
To design your own: link buttons to #consent-accept (everything), #consent-reject (necessary only) and #consent-save (the ticked boxes, which must be named analytics and marketing). A link to #consent-open anywhere on your site (in the footer, for example) shows the banner again, so a visitor can change their mind.
What it blocks
Until the visitor agrees:
- the Google Analytics, Tag Manager and Meta Pixel tags set up under Conversion tracking do
not load, and no event is sent;
- Google Consent Mode starts with every signal denied;
- any other script you list (by its WordPress handle, as analytics or marketing) stays switched
off, and so does any script written as <script type="text/plain" data-<prefix>-consent="analytics">, where <prefix> is the class prefix shown on the plugin's settings screen.
The choice is kept for 180 days (you can change this) in one cookie on your own site. If a visitor takes consent back, the page reloads so nothing that already ran keeps tracking.
Visitors outside the EU
By default every visitor must agree first. You can switch on Outside the EU, EEA and UK: load tracking until the visitor says no: it applies only when your host or CDN reports the visitor's country (for example Cloudflare's CF-IPCountry header) and that country is outside the EU, EEA, UK and Switzerland. The banner is still shown, and a visitor whose country is unknown is treated as inside the EU.
The banner works with page caching: every visitor gets the same page, and their own choice is applied in their browser.