Could the new google analytics be causing my SSL to be insecure?
-
Anyone familiar with making SSL work with Google Analytics and Drupal? I'm currently working on a website for work. I have my SSL cert installed, but when I try to connect securely, it keeps complaining that a part of the site is insecure. I finally think I've narrowed it down to the Google Analytics code we're using (it's the new, supposedly self switching code, not the old manual code). Is it possible that it's causing trouble because I have it in the "footer" section of my Drupal UI? If so, how else do I install it? Or am I WAY off base, and it's actually an issue some where else? The site, for reference, is https://www.mailritevt.com. Thank you in advance!
-
Answer:
http://code.google.com/apis/analytics/docs/gaTrackingOverview.html (at least, the updated code) automatically handles fetching the correct http/s javascript file. The important part:"https:" == document.location.protocol ? "https://ssl." : "http://www."
TrueVox at Ask.Metafilter.Com Visit the source
Other answers
You're downloading a javascript file from Google when you're using Analytics. If you're on an HTTPS site and downloading the .js file from an HTTP site most (or all at this point) browsers will complain about unsigned content. You need to use the SSL URL when pointing the analytics javascript file. Google has provided a helpful http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55483.
purephase
Looks like you may have implemented this after posting your question. The site loads fine for me.
purephase
Thank you both, but I'm still having the issue, even on multiple computers. I haven't changed anything, yet (nor did I after posting the question). Could my use of Lightbox be effecting it? btw, sorry for not answering sooner, been slammed at work all day since I posted first.
TrueVox
WAIT! You're RIGHT, Civil! THANK YOU!!!
TrueVox
Related Q & A:
- How do I add Google Analytics to my Yahoo Group and Yahoo 360 Blog?Best solution by Yahoo! Answers
- Where Do I Place Google Analytics Code Inside a .ASPX Page?Best solution by Stack Overflow
- How to track clicks of ads in email using google analytics?Best solution by Stack Overflow
- Google Analytics help?Best solution by Yahoo! Answers
- What is the difference between New Visitors and Absolute Unique Visitors in Google Analytics?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.