Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have a few Chrome plugins published on the Google webstore with analytics and I noticed today that the protocols for the URL different depending on what I happen to have copy pasted. Will Google Analytics detect visitors to these pages on both HTTP and HTTPS?

Google analytics page

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Short answer: yes.
Long answer: it depends on which version of the tracking code you are using. Meaning that if you are using an older version (urchin.js), you need to copy/paste a different tracking code into your secure pages. (Here is the man page: http://www.google.com/support/analytics/bin/answer.py?answer=55483)

share|improve this answer
    
Ah then it's fine, because you only supply the UA-XXXXXXX-X to the webstore and googles handles the code. Thanks! –  Kit Sunde Jun 26 '11 at 2:05
    
(link is now a 404.) –  Chris Moschini Sep 28 '13 at 7:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.