MacPrawn
|
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.
|