Se sei una società in franchising, potresti avere più domini o sottodomini ma desideri monitorare il traffico attraverso tutti loro. Ciò è possibile aggiungendo un altro profilo in Google Analytics e aggiungendo un secondo tracker del profilo.
Esempio di codice ORIGINALE:
try {var pageTracker = _gat._getTracker("UA-111111-1"); pageTracker._setDomainName ("none"); pageTracker._setAllowLinker (true); pageTracker._initData (); pageTracker._trackPageview (); } cattura (err) {}
NOVITÀ: esempio di codice asincrono di Google Analytics:
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12345-1']); _gaq.push (['_ setDomainName', 'example-petstore.com']); _gaq.push (['_ setAllowLinker', true]); _gaq.push (['_ trackPageview']); (function () {var ga = document.createElement ('script'); ga.type = 'text / javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol? 'https: // ssl': 'http: // www') + '.google-analytics.com / ga.js'; var s = document.getElementsByTagName ('script') [0]; s.parentNode.insertBefore (gas); })(); //]]>
Alcune settimane fa ho scavato in Google Analytics e in realtà promuove anche il metodo di aggiunta di profili per filtrare i dati. Forse vuoi osservare quante persone visitano il tuo sito dall'interno della tua azienda rispetto a visitatori esterni. Puoi aggiungi un filtro per i tuoi indirizzi IP su un profilo (limitando il traffico solo all'esterno) e quindi confrontare i due account.
Hi Douglas,i have opened my second blog recently. Now i want to track this blog in Google Analytics.How do i add this profile,so that i can view reports of both my profiles(blogs).
When you login to Google Analytics, niveditha, just look on the top right and you'll see an "add new profile" link. That's all it takes!
Great site ! Good to see a fellow Indiana resident (I am a South Bender) hit AllTop. Got you bookmarked — see you after my first Blog is installed. Have some fun @ Blog Indiana. Hope you have time to go get the BetterNetworker.com seal, for your sites, it's $10/mo. w/ a ltd. sign-up time. It will be big w/ Mike Dillard behind it; and many top MLMers in the site. B)