Cookie opt-in doesn't trigger a page reload

Description

Clicking OK (opt-in) in the cookie notice should immediately initialize tracking (e.g. Google Analytics).

Steps to reproduce

  1. Enable the cookie notice in the theme properties file

  2. Visit the site in incognito browser mode

  3. Click OK on the cookie notice (opting into cookies)

Expected result 

Tracking (e.g. Google Analytics) is initialized after click on the cookie banner. The page view is sent right after initialization.

Actual result 

Tracking is not initialized, so it stays in opt-out mode until the visitor navigates to another page of the help center or manually refreshes the page.

Environment

None

Activity

Show:
Unresolved

Details

Assignee

Reporter

Components

Fix versions

Backbone Issue Sync

Created February 3, 2023 at 10:49 AM
Updated March 8, 2023 at 1:54 PM