Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

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

My company creates (and hosts) sites for many different clients. We allow clients to send us tracking code, including Google Analytics, and we put them on the page.

We would also like to include our own Google Analytics code for internal tracking.

When we first investigated this issue a couple years ago, Google warned about including multiple bits of GA tracking code on the same page due to cookie conflicts.

Has this changed? Is it now safe to include multiple copies with different accounts?

share|improve this question
up vote 4 down vote accepted

Answered very well on: google analytics - multiple trackers on one page (cookie conflict)

share|improve this answer
Good stuff there. Thanks. – Doug Harris Jul 24 '10 at 12:18

This is still not recommended to do, the consideration you mention above is still valid.

Source: http://code.google.com/intl/nl-NL/apis/analytics/docs/concepts/gaConceptsCookies.html (all the way at the bottom of the page).

Despite this recommendation, it did work for us for a landing page we did. Our affiliate wanted to include the landing page in his tracking, while our client wanted to track the visits as part of his own site-wide monitoring. We recommended against it, but implemented it with a "Don't call us if it breaks" on their insistence... never had that call.

share|improve this answer

Instead of two tracking codes you can just ask your client to grant access to you so you can view their analytics reports from your own Google account. Seen this guide on how to do that.

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.