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

I'm hosting a URL with NameCheap, and it is a URL frame for a account. I'm using Google Analytics to track the 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 is an iframe wrapper around I have a Google Analytics tracker on, but Google Analytics believes that ALL referrals to come from Ugh. –  solvingPuzzles Feb 2 '13 at 7:21

1 Answer 1

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.