bugster
05-18-2007, 12:26 AM
hey everyone,
i want to put 2 different sets of google analytics tracking code on one page, would that cause any problems at all?
I would do something like this:
<body>
....stuff....
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxxxx-x";
urchinTracker();
</script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-yyyyyyy-y";
urchinTracker();
</script>
</body>
</head>
would there be any conflicts between the 2 js scripts, and more importantly, will google still be able to track this page on both accounts?
i want to put 2 different sets of google analytics tracking code on one page, would that cause any problems at all?
I would do something like this:
<body>
....stuff....
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxxxx-x";
urchinTracker();
</script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-yyyyyyy-y";
urchinTracker();
</script>
</body>
</head>
would there be any conflicts between the 2 js scripts, and more importantly, will google still be able to track this page on both accounts?