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

ga

Inā he hui franchise ʻoe, he nui paha kāu mau kikowaena a i ʻole nā ​​subdomains 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
  2. 3

    Paena maikaʻi! Maikaʻi ka ʻike ʻana i kekahi hoa kamaʻāina Indiana (ʻo wau ʻo South Bender) i pā iā AllTop. Loaʻa iā ʻoe ka bookmark - ʻike iā ʻoe ma hope o ka hoʻokomo ʻia ʻana o kaʻu Blog mua. E leʻaleʻa @ Blog Indiana. Lana ka manawa e hele ai e kiʻi i ka sila BetterNetworker.com, no kāu mau pūnaewele, he $10/mo. w/ a ltd. manawa kau inoa. E nui ana me Mike Dillard ma hope; a he nui nā MLMers kiʻekiʻe ma 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.