Hi - I've put the code into a test page for the site, but it's not showing up.

71 views
Skip to first unread message

marc wilson

unread,
Feb 2, 2015, 11:36:29 AM2/2/15
to cookie...@googlegroups.com
I've created the code and added it to a test page.

If I set the open by default option to true, it pops up and asks for consent the first time the page is accessed.  So far, so good.

But on subsequent page loads, there is no indication on the page at all.  

I've also tried changing the open by default option to false- and clearing the cookie data- and it just doesn't do anything.

Gerasimos Tzoganis

unread,
Feb 2, 2015, 1:24:18 PM2/2/15
to cookie...@googlegroups.com
Right now I don't see Cookie Control on that page either, and the reason might be this javascript error that I see in the console:
Uncaught ReferenceError: sessionID is not defined

If you fix that Cookie Control and all other javascript code on your page might work.

About why it doesn't popup on subsequent pages, I can think of two reasons:
  1. you have consented to the use of cookies on the first page, so cookie control hides itself so that it doesn't interfere with the rest of the page anymore for a default duration of 90 days.
  2. You have not deployed it on the other pages, other than the first one. As with any javascript code, it needs to actually be on the page to run. I can see the pages in your site are flat html pages, ie not generated dynamically from a CMS. So you have to put it on every page, as with every other javascript code you want to run on the page.
I hope this helps.

Gerasimos
Reply all
Reply to author
Forward
0 new messages