Clicking OK (opt-in) in the cookie notice should immediately initialize tracking (e.g. Google Analytics).
Steps to reproduce
Enable the cookie notice in the theme properties file
Visit the site in incognito browser mode
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.
Clicking OK (opt-in) in the cookie notice should immediately initialize tracking (e.g. Google Analytics).
Steps to reproduce
Enable the cookie notice in the theme properties file
Visit the site in incognito browser mode
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.