I have a question about installing the Google Analytics script in a Plone site.
Google says you have to place the script in between the head tags so i created a custom version of the template that does this.
Sofar so good, it all works. BUT...
I have an apache frontend and that also has a HTTPS config on it.
When you login you are routed to the https version of the site.
The problem is that when people login they get a security warning that there are parts of th site that are insecure.
This is ofcourse the link to the script from Google that goes over http instead of https.
So the question is :
Can somebody think of a tal instruction or something to make the url to the script protocol dependent ?
I already tested and there is an https version of the script at the exact same location.
here is an exmple of the script:
_uacct = "UA-XXXX-XX";
with kind regards