orestbida / cookieconsent

:cookie: Simple cross-browser cookie-consent plugin written in vanilla js
https://playground.cookieconsent.orestbida.com/
MIT License
3.91k stars 407 forks source link

[Docs]: Improve Documentation for page_scripts Parameter #598

Open daleharrison opened 10 months ago

daleharrison commented 10 months ago

What is the improvement/update you wish to see?

page_scripts is set to false by default. The documentation explains that you can set it to true, then use type="text/plain" and data-cookiecategory="<category>" to disable third-party scripts until consent is provided for that category. This seems to be the recommended approach.

What's not clear is how consent functionality would work with page_scripts set to false or if there are other benefits of using it that way. For example, do you have to manually manipulate your third-party script tags if going that route?

The documentation link that states "Check manage third party scripts" is also broken.

Link the related docs page, if it exists.

https://github.com/orestbida/cookieconsent/tree/v2.9#readme