1
Joomla! 1.5 / Re:google analytics e plug in
« il: 26 Set 2009, 18:59:08 »
sul sito di analytics ho trovato questo:
Quindi ho creato una pagina cookies.html e ho messo questo
quindi l'ho visitata solo io con www.miosito.com/cookies.html
e ho fatto il filtro come dice analytics... in linea teorica dovrebbe funzionare... spero!!
Citazione
To exclude traffic by Cookie Content
Note: This is an advanced alternative to the previous method.
To exclude traffic from dynamic IP addresses, you can use a JavaScript function to set a cookie on your internal computers. You'll then be able to filter all visitors with this cookies from appearing on your Analytics reports.
How to exclude traffic by cookie:
1. Create a new page on your domain, containing the following code:
<body onLoad="javascript:pageTracker._setVar('test_value');">
(Please note that this code is in addition to the Google Analytics tracking code that you have on every page of your website.)
2. In order to set the cookie, visit your newly created page from all computers that you would like to exclude from your reports.
3. Create an Exclude filter to remove data from visitors with this cookie. Follow these instructions http://www.google.com/support/googleanalytics/bin/answer.py?answer=55494
to create a filter with the following settings:
Filter Type: Custom filter > Exclude
Filter Field: User Defined
Filter Pattern: test_value
Case Sensitive: No
Quindi ho creato una pagina cookies.html e ho messo questo
Codice: [Seleziona]
<html>
<body onLoad="javascript:pageTracker._setVar('test_value');"></body>
</html>
quindi l'ho visitata solo io con www.miosito.com/cookies.html
e ho fatto il filtro come dice analytics... in linea teorica dovrebbe funzionare... spero!!
