Hello, Thank you for visiting - I hope that you will find useful information. Leave a comment but if you have any comments on the subject.
Today I did want to incorporate a little tip for all the multiple Google Analytics accounts on the same page. After the first account was then integrates all of the following codes must be modified a little.
First we will look at the first JavaScript call. This must be unique and therefore apart from all the codes are removed from the first.
<script type="text/javascript"> var gaJsHost = (: ("https:" == document.location.protocol) ". https://ssl": "http://www."); document.write (unescape ("% 3Cscript src = '" + gaJsHost + "google-analytics.com/ga.js' type = 'text / javascript'% 3E% 3C/script% 3E")); </ Script> |
Then comes the actual call tracking, which triggers the counting. Here, the variable "page tracker" unique. Therefore, we will at the 2nd Code in "pageTracker2" change. Note, the need for all calls on the 2nd Code should be counted to be adjusted. It will look like this:
<script type="text/javascript"> try { var pageTracker2 = document.createElement ("UA-xxxxxx-x"); pageTracker2._trackPageview (); } Catch (err) {} </ script> |
Now we need, if any, additional calls to release the manual counts to be adjusted. For example, if a click is generated manually via JavaScript a page view, or event.
Ähnnliche posts:








Andi
11th May 2011 at 21:50
Hi Mark,
thank you for your tip. Since I am only at the beginning of the Blogging and Google Analytics, I am very grateful for these tips.
Greeting