Hoʻokahi moʻokāki Google Analytics, nā Domains he nui

ga

Inā he ʻoihana franchise ʻoe, loaʻa paha iā ʻoe nā kikowaena he nui a i ʻole nā ​​subdomain akā makemake ʻoe e nānā i nā kaʻa ma o lākou āpau. Hiki i kēia ma ka hoʻohui ʻana i kahi ʻikepili ʻē aʻe ma waena o Google Analytics a hoʻopili i kahi tracker profile ʻelua.

Eia kekahi laʻana o ka laʻana ORIGINAL:

try {var pageTracker = _gat._getTracker("UA-111111-1");
ʻaoʻaoTracker._setDomainName ("ʻaʻole");
ʻaoʻaoTracker._setAllowLinker (ʻoiaʻiʻo); ʻaoʻaoTracker._initData (); ʻaoʻaoTracker._trackPageview (); } hopu (err) {}

NĀ HOU: ʻAniknchronous Google Analytics Code Laʻana:

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12345-1']);
_gaq.push (['_ setDomainName', 'example-petstore.com']);
_gaq.push (['_ setAllowLinker', ʻoiaʻiʻo]); _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 (ga, s);}) (); //]]>

I kekahi mau pule i hala aku nei ua hana wau i kahi ʻeli ʻana ma Google Analytics a hoʻolaha maoli lākou i ke ʻano o ka hoʻohui ʻana i nā ʻikepili e kānana i ka ʻikepili pū kekahi. Makemake paha ʻoe e nānā i ka nui o ka poʻe e kipa i kāu pūnaewele mai loko mai o kāu ʻoihana me nā poʻe kipa kūwaho. Hiki iā 'oe hoʻohui i kahi kānana no kāu mau helu IP ma hoʻokahi ʻike (ka palena ʻana i ke kalepa ʻana i waho wale nō) a laila hoʻohālikelike i nā moʻokāki ʻelua.

3 Comments

  1. 1

    Aloha Douglas, ua wehe wau i kaʻu blog ʻelua i kēia manawa. I kēia manawa makemake wau e nānā i kēia blog ma Google Analytics. Pehea wau e hoʻohui ai i kēia ʻikepili, i hiki ai iaʻu ke nānā i nā hōʻike o kaʻu ʻikepili ʻelua (blog).

  2. 3

    Pūnaewele maikaʻi! Maikaʻi e ʻike i kekahi hoa noho Indiana (ʻo wau ʻo South Bender) kū ma AllTop. Ua kau kau lepe puke - ʻike iā ʻoe ma hope o ka hoʻonoho ʻia ʻana o kaʻu Blog mua. E leʻaleʻa ʻoe ma @ Blog Indiana. Lana ka manaʻo he manawa kāu e hele ai e kiʻi i ka sila ʻo BetterNetworker.com, no kāu pūnaewele, he $ 10 / mo. w / a ltd. manawa kau inoa. E nui ia w / Mike Dillard ma hope ona; a me nā MLMers kiʻekiʻe he nui i ka pūnaewele. B)

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.