Hi,
I've recently installed cookie consent from sitebeam to make my store EU law compliant, however I also need to modify the javascript elements that enable cookies, so that the program can enable or disable those cookies, depending on consent. However I can't seem to find which .css file it's in. I think I'm aware of what needs to be done once I find the files, if the sitebeam help page is right. Which is as follows:
Modify your site
Social media
- Find any Javascript elements that set Social media cookies. Examples might include Facebook buttons and Twitter widgets.
- Modify the <script> tag so that the type attribute is "text/plain" rather than "text/javascript"
- Add a class of "cc-onconsent-social" to the <script> tag
See example
It didn't work!
Analytics
- Find any Javascript elements that set Analytics cookies. Examples might include Google Analytics and StatCounter.
- Modify the <script> tag so that the type attribute is "text/plain" rather than "text/javascript"
- Add a class of "cc-onconsent-analytics" to the <script> tag
See example
It didn't work!
Strictly necessary
- Find any Javascript elements that set Strictly necessary cookies. Examples might include Google Analytics and StatCounter.
- Modify the <script> tag so that the type attribute is "text/plain" rather than "text/javascript"
- Add a class of "cc-onconsent-necessary" to the <script> tag
See example
It didn't work!
Any advice would be greatly appreciated.
Regards,
Alan S.