homepage Welcome to WebmasterWorld Guest from 54.204.73.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
Google Analytics
Can I Have Two Google Analytics Code on my Website?
cliffhanger

5+ Year Member



 
Msg#: 3460302 posted 2:34 pm on Sep 25, 2007 (gmt 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.

 

Rugles

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3460302 posted 5:24 pm on Sep 25, 2007 (gmt 0)

Don't know the answer to your question.

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

cgrantski

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3460302 posted 5:54 pm on Sep 25, 2007 (gmt 0)

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.

cliffhanger

5+ Year Member



 
Msg#: 3460302 posted 9:10 am on Sep 26, 2007 (gmt 0)

Thanks, I already did that and it works...

Storyman

10+ Year Member



 
Msg#: 3460302 posted 7:25 pm on Sep 26, 2007 (gmt 0)

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

Thanks

maygle

5+ Year Member



 
Msg#: 3460302 posted 3:22 am on Sep 28, 2007 (gmt 0)

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

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

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

cgrantski

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3460302 posted 1:08 pm on Sep 28, 2007 (gmt 0)

I can think of lots of reasons. A shared shopping cart (two clients) is one.

cliffhanger

5+ Year Member



 
Msg#: 3460302 posted 2:53 pm on Oct 3, 2007 (gmt 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!

cgrantski

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3460302 posted 5:18 pm on Oct 3, 2007 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved