-
While I was implementing this plugin I came across some difficulties. Version: CC v3.0.0-rc.16 and iframemanager v1.2.5
en.json
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The autoclear and page reload options only work with categories. If you need to remove a cookie set by a service, you will need to manually invoke {
onReject: () => {
im.rejectService('youtube');
CookieConsent.eraseCookies('im_youtube');
}
} Keep in mind that iframemanager already erases its own cookies when a service is rejected, so you shouldn't need to use
As of v3, this option has been renamed to |
Beta Was this translation helpful? Give feedback.
The autoclear and page reload options only work with categories.
If you need to remove a cookie set by a service, you will need to manually invoke
.eraseCookies()
inside theonReject
callback, e.g:Keep in mind that iframemanager already erases its own cookies when a service is rejected, so you shouldn't need to use
.eraseCookies()
. Also, since we're dealing with iframes, once they are removed, any script/tracking enabled via that iframe should immediately stop, so you shouldn't need to reload the page.As of v3, this option has been renamed to
autoCle…