homepage Welcome to WebmasterWorld Guest from 54.198.130.203
register, free tools, login, search, subscribe, 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




msg:3460304
 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




msg:3460510
 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




msg:3460542
 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




msg:3461194
 9:10 am on Sep 26, 2007 (gmt 0)

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

Storyman




msg:3461840
 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




msg:3463397
 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




msg:3463699
 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




msg:3467992
 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




msg:3468138
 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