Welcome to WebmasterWorld Guest from 54.147.10.12

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Google Analytics

Can I Have Two Google Analytics Code on my Website?

     
2:34 pm on Sep 25, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:July 27, 2007
posts:49
votes: 0


Hello there,

Can I use two Google analytics code on my website, and use two analytics account? Is it permitted, or does google obstruct one? Thanks. Swayam.

5:24 pm on Sept 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 29, 2001
posts:2145
votes: 0


Don't know the answer to your question.

But, why do you want to do that? I can't think of a reason.

5:54 pm on Sept 25, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 14, 2004
posts:1107
votes: 1


The answer to the original question is yes, you can do it. Be sure to include code that resets the account number between tag calls. You can find more information on the Google Analytics help site.
9:10 am on Sept 26, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:July 27, 2007
posts:49
votes: 0


Thanks, I already did that and it works...
7:25 pm on Sept 26, 2007 (gmt 0)

Preferred Member

10+ Year Member

joined:Jan 4, 2004
posts: 456
votes: 0


Excuse my ignorance, but can you explain why you're using 2 Google Analytics?

Thanks

3:22 am on Sept 28, 2007 (gmt 0)

New User

5+ Year Member

joined:Sept 9, 2007
posts: 6
votes: 0


like this one?
_uacct = "UA-account-1";
urchinTracker();

_uacct = "UA-account-2";
urchinTracker();

_uacct = "UA-account-3";
urchinTracker();

1:08 pm on Sept 28, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 14, 2004
posts:1107
votes: 1


I can think of lots of reasons. A shared shopping cart (two clients) is one.
2:53 pm on Oct 3, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:July 27, 2007
posts:49
votes: 0


sorry, i came back a little late to this thread... i wanted to do that for a very silly reason, assumed it was working. But then the one account got screwed up very soon...

it was not like urchin tracker # #*$!XX-1 followed by urchin tracker # #*$!xx-2

but, urching tracker # #*$!#*$! and urchin tracker # YYYYYY

so, if anybody is thinking of trying the same on your website for shopping cart or whatever reason -- DON'T!

5:18 pm on Oct 3, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 14, 2004
posts:1107
votes: 1


Isn't that what the reset code (referred to above) was supposed to prevent?