You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
When the requireConsent option is set, every page load logs the error message "There was an error setting cookie mtm_consent_removed. Please check domain and path" to the console.
Reason seems to be that during creation of a Tracker forgetConsentGiven is being called, which then calls setCookie(CONSENT_REMOVED_COOKIE_NAME, ...). setCookie sets the cookie properly, but wants to check that it is indeed set with a call to get getCookie, which then fails, because configCookiesDisabled is set to true at this point, and the function returns 0
Fix would be make the behavior of getCookie and setCookie in regards to the CONSENT_REMOVED_COOKIE_NAME and configCookiesDisabled the same.
The change to setCookie was introduced here 9e10a15
The text was updated successfully, but these errors were encountered: