Archived topic
Where to add this code?
5 replies · Started by Dave on September 19, 2016
Hi Tim, I want to add the cookie code you can get from https://silktide.com/tools/cookie-consent to my sites. I tried in the GP Hooks, but it didn't seem to work. Neither, when I added it directly in the editor. Where should I be putting it, and does one of the plugins like simple PHP work with this?
Thanks
You should be able to add it to the wp_footer hook in GP Hooks.
Hmm.. I've tried that too and there's no cookies pop up when I visit it - I tried on Firefox as I am logged in on Chrome.
Can you show me your site? I'll see if it comes up for me.
Sorry Tom, I must have done something wrong the first time - I just added it again and it works fine now :-)
Thanks
Awesome :)