Skip to main content

Considerations When Controlling RB2B's Functionality With Your Cookie Policy Banner

Updated this week

In the modern digital landscape, respecting user privacy and adhering to cookie policies is paramount. Integrating tracking script functionality with user acceptance of cookie usage policies is a crucial step in ensuring compliance and maintaining user trust. Here's a guide to the best practices for achieving this integration effectively.

Cookie consent regulations require websites to obtain user consent before setting cookies that gather personal data. For RB2B systems specifically, this means: no RB2B-related cookies should be set before the user gives explicit consent, the RB2B script must wait until cookie permissions are granted to perform tracking, and compliance settings may differ depending on the customer's Consent Management Tool (CMT).

For customers using the agency model, direct access to the RB2B dashboard is not required. Instead, integration depends on displaying a visible consent banner to inform visitors about cookie usage, configuring the banner to ensure that RB2B's script triggers only after users opt-in, and adapting the implementation to meet the customer's unique legal obligations or chosen CMT requirements.

Best Practice: Tying Script Functionality to Policy Acceptance

Ensure Tracking Script Loads Only After Acceptance

The best practice is to ensure that your RB2B tracking script loads only after the user has accepted the cookie usage policy. This approach guarantees that cookies are only written once the user has given explicit consent, maintaining compliance and user trust.

Steps to Implement This Best Practice

Initial Page Load:

  1. Do not load the tracking script: On the initial page load, refrain from loading the tracking script.

  2. Display a cookie usage policy banner: Inform users about the use of cookies and request their consent.

User Interaction with the Banner:

  1. Dynamic Script Loading: If the user accepts the policy, dynamically load the tracking script.

  2. Event Listeners: Use event listeners to detect the acceptance action (e.g., clicking the "Accept" button).

  3. Customize Banner Settings: Set your website's banner to allow RB2B script and cookies only after user consent, or configure it to exclude RB2B cookies from blocking.

Script Execution Post-Acceptance:

  1. Load Script After Acceptance: Once the script is loaded after acceptance, it can write cookies and identify the user as intended.

  2. Consent-Based Tracking: This ensures that all tracking and cookie writing occur within the bounds of user consent.3. Verify Implementation: Perform testing to ensure proper delay in script activation until consent is acquired and check cookies post-consent to confirm tracking elements are operational.

Avoiding Bad Practices

Loading the Script and Deferring Cookie Writing

A common but flawed approach is to allow the tracking script to load on the initial page visit but defer the writing of cookies until the user accepts the policy. This method has significant drawbacks:

  1. Script Behavior Dependency: If the script relies on writing cookies during its execution, delaying this action can disrupt its functionality.

  2. Missed Identification Opportunities: If the user accepts the policy after the script has already executed, the script may not attempt to write cookies again, leading to missed identification and tracking opportunities.

Recap

Tying the functionality of your tracking script to the user's acceptance of the cookie usage policy is essential for compliance and maintaining user trust. By ensuring that the script loads only after acceptance, you can avoid functionality issues and ensure proper tracking and identification. Implement this best practice to enhance user experience and adhere to privacy regulations effectively.

Using Third-Party Consent Management Tools

Many websites rely on third-party Consent Management Tools (CMTs) to handle cookie consent. Here's how to configure these tools for use with RB2B tracking scripts:

Example: Configuring CookieYes

CookieYes simplifies the integration process:

  1. Simple Integration: Include the RB2B script in your website's code as you normally would.

  2. Automatic Management: CookieYes will detect and pause the RB2B functionality until consent is provided, requiring no additional adjustments.

  3. Enhanced Compliance: For stricter requirements, configure CookieYes to inform users about cookies in detail before any script activation.

Troubleshooting

If RB2B tracking fails to activate or data appears incomplete:

  1. Script Placement: Confirm proper script placement and configuration within your website.

  2. Consent Settings: Check settings in the CMT to ensure RB2B's script activation is tied to user consent.

  3. Testing: Validate settings using private/incognito mode to replicate new user visits.

Did this answer your question?