Skip to main content

Getting Started

When users visit your community, they may need to provide consent for different types of cookies:

  • Essential: Required for basic functionality (always allowed)
  • Analytics: Used for tracking and improving user experience
  • Marketing: Used for advertising and personalized content

Bettermode provides two core components for cookie consent management:

  • Cookie Manager: Centralized consent storage and management system
  • Script Manager: Automated script loading based on user consent preferences

These components work together to ensure compliance with privacy regulations such as GDPR, CCPA, and similar data protection laws.

System Architecture​

To function properly, the cookie consent system requires Bettermode's Cookie Consent Management Integration app to be installed from the app store.

The system follows a structured consent management flow:

  1. Consent Collection: The cookie consent app presents cookie preferences to users and collects their consent choices for each cookie category

  2. Consent Storage: The cookie consent app calls the Cookie Manager's setCookieConsent() method to store preferences centrally

  3. Change Notification: The Cookie Manager emits onCookieConsentChange events when preferences are updated, notifying all system components

  4. Script Management: The Script Manager automatically loads or unloads registered scripts based on current consent preferences

info

To build use a custom consent management platform instead of Bettermode's integration, contact your customer success manager.

Next Steps​