Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm hosting a URL with NameCheap, and it is a URL frame for a blogspot.com account. I'm using Google Analytics to track the blogspot.com account, but I'd like to be able to track the NameCheap frame URL as well. How do I do this?

share|improve this question
Do you want to use the same analytics profile, or a different one? – paulmorriss Sep 23 '11 at 11:24
I'm stuck on the same problem. I haven't found a way to convince NameCheap to let me include Google Analytics (or other scripts) in the iframe wrapper page. Let's say my_namecheap_url.com is an iframe wrapper around my_blogspot_url.com. I have a Google Analytics tracker on my_blogspot_url.com, but Google Analytics believes that ALL referrals to my_blogspot_url.com come from my_namecheap_url.com. Ugh. – solvingPuzzles Feb 2 '13 at 7:21

If you want to track to two Google Analytics accounts it is possible:

var _gaq = _gaq || [];
    ['_setAccount', 'UA-AAAAAAAA-0'],
    ['b._setAccount', 'UA-BBBBBBBB-0'],
share|improve this answer

Your Answer


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.