How to Transfer Cookie Consent Between WordPress Site and Bubble App for Cross-Domain Tracking?

Hey all!

I’m working on a client project with a WordPress site (example.com) and a Bubble app as subdomain (portal.example.com). Users are asked for cookie consent on the WordPress site, but when they navigate to the Bubble app, their consent doesn’t carry over.

I need to track user activity across both domains while maintaining GDPR compliance.

Current Setup

WordPress Site:

  • Google Analytics with proper consent management
  • Cookie consent banner implemented
  • Users provide their consent here

Bubble App:

  • Basic Google Analytics implementation without consent management
  • No connection to the consent from the main site
  • Currently not GDPR compliant

What I Need Help With

As someone with limited knowledge of cookie management, I need guidance on:

  1. How to transfer the consent given on the WordPress site to my Bubble app
  2. How to implement Google’s Consent Mode in Bubble
  3. How to maintain consistent tracking of the same user across both domains
  4. Or, if consent transfer isn’t possible, is it possible to continue tracking the same user if they have to give consent twice (once on each domain)?

I want to be able to follow each user’s journey from the WordPress site to the Bubble app while maintaining GDPR compliance.

Any advice, plugins, or code examples would be extremely helpful! Thanks a lot in advance.