Tace Reshen yanki a cikin Google Analytics

ga

Tare da software azaman sabis (SaaS) masu siyarwa kamar Matsakaici, kuna wakiltar wani yanki wanda yake dauke da bakuncin yanar gizo a wani yanki daban da na gidan yanar gizonku. Yawanci, ana cika wannan tare da blog.domain.com da www.domain.com. Kamfanoni galibi kamfanoni suna aiwatar da cikakken asusu daban a cikin Google Analytics don saka idanu kan rukunin yanar gizon. Ba lallai bane ya zama dole.

Google Analytics zai baka damar saka idanu kan yankuna da yawa a cikin bayanin martaba daya. Don yin wannan, kawai kuna ƙara layin lambar zuwa rubutun Google Analytics ɗinku na yanzu:

Sabon Rubutun Nazarin Google

	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-XXXXXX-XX']);
    _gaq.push (['_ setDomainName', 'example.com']);
	_gaq.push (['_ trackPageview']); _gaq.push (['_ trackPageLoadTime']); (aiki () {var ga = document.createElement ('rubutun'); ga.type = 'rubutu / javascript'; ga.async = gaskiya; ga.src = ('https:' == document.location.protocol? 'https: // ssl': 'http: // www') + '.google-analytics.com / ga.js'; var s = document.getElementsByTagName ('rubutun') [0]; s.parentNode.insertBefore (ga, s);}) ();

Tsohon Rubutun Nazarin Google

 try {
var pageTracker = _gat._getTracker("UA-XXXXXX-XX");
pageTracker._setDomainName (". misali.com");
shafiTracker._trackPageview (); } kama (kuskure) {}

Ba ku gama ba tukuna! Idan kawai kuna yin hakan, kuna gudanar da batun hanyoyin da aka auna a ƙarƙashin URL guda a cikin Google. Don haka - idan kuna da index.php akan shafin yanar gizonku da www subdomains, duk za'a auna su azaman index.php. Hakan ba kyau. A sakamakon haka, dole ne ku yi ɗan ƙaramin ci gaba a cikin asusun!

Shiga cikin Nazarin Google kuma danna Shirya akan bayanan Google ɗinku. Gungura ƙasa shafin inda zaku iya ƙara matattara kuma ƙara matattara mai ci gaba tare da saituna masu zuwa:
Cikakken Tace don domananan Yankuna a cikin Nazarin Google

Yanzu bayananku ya kamata su rarrabe ƙananan yanki a cikin duk Asusun Nazarin.

13 Comments

  1. 1

    ba za ku iya amfani da sabon fasalin sabon yanki a cikin GA ba? wanda ke biye da rukunin yanar gizo azaman ƙaramin yanki na TLD?

  2. 2
  3. 3

    Yankin "liƙa lambar" akan Google Analytics yanzu yana da matakai biyu:

    1. Me kake bi?
    Yanki guda (tsoho)
    Yanki: marketingtechblog.com

    Yanki ɗaya tare da ƙananan yankuna masu yawa
    misalan:
    http://www.marketingtechblog.com
    apps.marketingtechblog.com
    shagon.marketingtechblog.com

    Pleungiyoyin manyan matakai da yawa

    sannan kuma akwati don Binciken Adwords

    Ga ɗaya don ku: me yasa safari na mai bincike na PC yana nuna babu fasalin google amma baya bani zaɓi don bincika Sabuntawa (sabunta shafin yanar gizo) da makamantansu?

  4. 4
  5. 5
  6. 7
  7. 8

    Sannu Doug,

    Na kara rubutun da ke sama amma da alama ba ya aiki. Duk wani abu da na zame wanda ku maza kuna da masaniya? 

    Zai taimaka sosai idan zaku iya sa ni gaba akan wannan. 

    Godiya da Gaisuwa,
    Nishanth T

    • 9

      Abubuwa biyu, @ google-1f23c56cd05959c64c268d8e9c84162e: disqus. Na farko (kuma mafi bayyane) shine don tabbatar da cewa an saita lambarka UA da kyau. Ba na son in rubuta wannan, amma wani lokacin muna kwafa da liƙawa mu manta. Na biyu… zai dauki awowi da yawa kafin ya cika. Ka ba shi yini sannan ka gani!

      • 10

        Hey @douglaskarr: disqus - Godiya mai yawa don amsa. An yaba sosai - an saita UA daidai. An sake duba shi kuma. Na bi shi da wannan lambar fiye da wata ɗaya yanzu. Rosananan microsites / ƙananan yankuna ba su bayyana a cikin GA. 

        Cheers ...

  8. 11

    Godiya! Taimaka sosai. Ina da lambar iri ɗaya da ke aiwatarwa a cikin yankuna daban-daban, dangane da ko ana amfani da http ko https (galibi don rarrabe kukis, saboda ni ma ina da wasu nau'ikan fakitin ƙarshen-baya & Ina so in guje wa asusun sake-salo), amma javascript canje-canje sun kasance ƙananan ƙananan.

  9. 12

    Kai a can godiya ga wannan karatun ya taimaka sosai! Don haka da zarar na ƙara lambar a duk ƙananan yankuna na sune ƙididdigar da ƙididdiga ke nunawa za ta haɗa da zirga-zirga daga ƙananan matakan na?

  10. 13

Me kuke tunani?

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.