Urgent issues? Contact us directly at help@monitus.com or check Monitus Tools Updates.
Monitus Tools Forum  


2 separate Monitus / GA accounts on the same site? - 2007/08/28 17:43 Can we run two separate Monitus / Google Analytics accounts on the same web site?

We are looking for a way to track 2 domains mydomain1.com and mydomain2.com together in order to have combined statistics, but at the same time we need to have separate statistics for mydomain2.com
  | | The administrator has disabled public write access.
Re:2 separate Monitus / GA accounts on the same si - 2007/08/29 20:44 Anyone?
  | | The administrator has disabled public write access.
Re:2 separate Monitus / GA accounts on the same si - 2007/08/29 23:44 Yes, it is possible to do this. We'll post instructions tomorrow.

Michael
  | | The administrator has disabled public write access.
Re:2 separate Monitus / GA accounts on the same si - 2007/08/30 13:13 Good morning!

Sorry about the post delay - we were trying to figure out the best and smartest way to allow this...

As Michael said, it is possible - here's how you can do it... Say you have two Google Analytics (GA) accounts: "UA-10000-1" and "UA-10000-2"... You've given us the "UA-10000-1" one when you registered - we'll call this your main GA account number, and the other(s) your secondary account number(s).

Right now, the code you have installed on your site looks something like this:

Code:

  <script type="text/javascript" src="http://www.monitus.net/scripts/monitus_tools.js"></script> <script type="text/javascript">if(typeof monitus_init == "function") monitus_init(...);</script> <noscript><img src="http://www.monitus.net/php-bin/mnsc.php?mid=..." alt="Monitus Yahoo Store web  analytics" /></noscript>



This would only call GA with your primary account number. To add calls to GA to secondary account(s), you would do this instead:

Code:

  <script type="text/javascript" src="http://www.monitus.net/scripts/monitus_tools.js"></script> <script type="text/javascript"><strong>var monitus_uacct = new Array("UA-10000-2");</strong>  if(typeof monitus_init == "function") monitus_init(...);</script> <noscript><img src="http://www.monitus.net/php-bin/mnsc.php?mid=..." alt="Monitus Yahoo Store web  analytics" /></noscript>



Careful! I've replaced your monitus ID in the code with "..." - make sure you put the ID back in there if you copy the whole code... (2 occurences) Probably afer to just copy the bold part...

Now, if you had more than one secondary account (you never know) then you would add them to the array like this:

Code:

 var monitus_uacct = new Array("UA-10000-2""UA-10000-3");



I hope this helps - if not, or if you have questions, please don't hesitate to post back!

Thanks!

Jean.
  | | The administrator has disabled public write access.