Hello, thanks for visiting - I hope that you will find useful information. but also leave a comment 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 "pageTracker" unique. Therefore, we are in this second Code in "pageTracker2" change. Note, the need for all calls, the second on the Code should be counted to be adjusted. It will look like this:
<script type="text/javascript"> try { pageTracker2 var = _gat._getTracker ("UA-xxxxxx-x"); pageTracker2._trackPageview (); } Catch (err) {} </ script> |
Now we need, if any, additional calls to manually trigger counts are adjusted. For example, if a click is generated manually via a JavaScript event or Page View.







