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.Dismiss alert
There is this feature of page-reload-on-revoke (plugin.tx_cookieconsent.settings.reloadOnRevoke).
My usecase is built the other way around: reloadOnGrant.
There is no cookie coming where I might attach the script to be loaded. Only a page-reload does help.
Is there a feature I did oversee?
I could hack dp_cookieconsent.js and add some JS to it, but I bet there is a more elegant way of a page-reload on grant?
The text was updated successfully, but these errors were encountered:
Researching the events (see docs) seemed helpful. Unfortunately, "dp--cookie-revoke" IS fired, when I remove a checkbox, but it doesn't tell which one. So reading the cookie "dp_cookieconsent_status" from js and parsing the content looks like the solution.
Hey, you could check the cookie, but essentially, that's what the page reload is for.
If everything is integrated correctly, the corresponding script won't be loaded afterward.
There is this feature of page-reload-on-revoke (plugin.tx_cookieconsent.settings.reloadOnRevoke).
My usecase is built the other way around: reloadOnGrant.
There is no cookie coming where I might attach the script to be loaded. Only a page-reload does help.
Is there a feature I did oversee?
I could hack dp_cookieconsent.js and add some JS to it, but I bet there is a more elegant way of a page-reload on grant?
The text was updated successfully, but these errors were encountered: