Hi there,
How can I add this cookie consent in my template index.php - Gavick Fit template (multi-language website). <!-- Privacy Consent by TermsFeed (https://www.termsfeed.com) --> <script type="text/javascript" src="https://cdn.termsfeedtag.com/plugins/pc/v1/05c18300fad74de795b0755a848e0a9e/plugin.js" async></script> <!-- End Privacy Consent by TermsFeed (https://www.termsfeed.com) -->
I followed this instructions but it did not work: https://www.youtube.com/watch?v=PNAXYIRHR_M
As other possibility, I also tried to use the Cookie law on Templates: Edit Style but only show the "Accept" button, does not have Reject option.
Thank you,
Ruben
Hi Ruben,
You should add that custom script into the file: /templates/gk_fit/layouts/default.php
/templates/gk_fit/layouts/default.php
Depend on how the provider of this script recommends, you can put that script into before </head> or </body> tag.
Works perfectly. Thank you!
Is there a way to make an override of this file so that template update won't be affect this code I inserted in /templates/gk_fit/layouts/default.php?
Best regards,
Unfortunately, there is no method to override this layout file in Gavick's templates 🙂
OK, no problem.
Website is loading unnecessary cookies before consent is given. How can I prevent loading these cookies before consent is given?
safeliz Hi Ruben,
I think you should contact the provider of this consent extension if they can be loaded before.