Jump to content

Place script with cookie consent on top of <head> marker


Recommended Posts

Hello, 

we recently received some help from SEO agency and we got informed that we should change our cookie policy , right now we had only cookie information bar and for proper cookie management we need to organize cookies in categories like marketing, targeting, etc . I created a script with one of the sites that offer that kind of service and it should be placed on very top in <head> but even if i place it on first row of head.tpl it still has some other things above. I tried to follow also this tutorial https://support.cookie-script.com/article/44-cookie-compliance-integration-for-prestashop-1-7 on their site but i get error 500 when i include their code with my src value so i {include file} option in head.tpl, what to do or how to properly place external javascript in top of <head> using frontcontroller.php or any other option to do that? Presta version 1.7.6.1

Edited by CPTBombaxx (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...