Hlunga izizinda ezingezansi ku-Google Analytics

ga

Nge-software njengensizakalo (SaaS) abathengisi abathanda Ukuhlanganiswa, udlulisela isizinda futhi ubamba ibhulogi yakho kusizinda esingehlukile kunewebhusayithi yakho. Imvamisa, lokhu kufezwa ngeblog.domain.com naku-www.domain.com. Ngokuvamile izinkampani zisebenzisa i-akhawunti ehluke ngokuphelele kuGoogle Analytics ukuqapha isizinda sebhulogi. Empeleni akudingekile.

I-Google Analytics izokuvumela ukuthi ubheke izizinda eziningi ngaphakathi kwephrofayili eyodwa. Ukuze wenze lokhu, umane ungeze umugqa wekhodi kusikripthi sakho samanje seGoogle Analytics:

Iskripthi esisha se-Google Analytics

	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-XXXXXX-XX']);
    _gaq.push (['_ setDomainName', 'example.com']);
	_gaq.push (['_ trackPageview']); _gaq.push (['_ trackPageLoadTime']); (function () {var ga = document.createElement ('script'); ga.type = 'text / javascript'; ga.async = iqiniso; 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);}) ();

Isikripthi Esidala se-Google

 try {
var pageTracker = _gat._getTracker("UA-XXXXXX-XX");
ikhasiTracker._setDomainName (". example.com");
ikhasiTracker._trackPageview (); } bamba (iphutha) {}

Awukaqedi! Uma umane ukwenze lokho, uqhuba inkinga yezindlela ezifanayo ezilinganiswa ngaphansi kwe-URl eyodwa kuGoogle. Ngakho-ke - uma une index.php kubhulogi yakho naku-www subdomains, zombili zizolinganiswa njenge- index.php. Akukuhle lokho. Ngenxa yalokhu, kufanele wenze ukuhlunga okuthuthukile okuthuthukile ku-akhawunti!

Ngena ngemvume ku-Google Analytics bese uqhafaza u-Hlela kuphrofayela yakho yakwa-Google. Skrolela ezansi nekhasi lapho ungangeza khona isihlungi bese ufaka isihlungi esithuthukile ngezilungiselelo ezilandelayo:
Isihlungi Esithuthukile Sezizinda Ezingaphansi ku-Google Analytics

Manje iphrofayili yakho kufanele ihlukanise isizinda kuyo yonke i-Akhawunti yezibalo.

13 Amazwana

  1. 1
  2. 2
  3. 3

    Isigaba "sokunamathisela ikhodi" ku-Google Analytics manje sinezinyathelo ezimbili:

    1. Yini oyilandelayo?
    Isizinda esisodwa (okuzenzakalelayo)
    Isizinda: marketingtechblog.com

    Isizinda esisodwa esinama-subdomain amaningi
    Izibonelo:
    http://www.marketingtechblog.com
    apps.marketingtechblog.com
    isitolo.marketingtechblog.com

    Izizinda eziningi ezisezingeni eliphezulu

    bese kuba ibhokisi lokuhlola le-Adwords Tracking

    Nasi esisodwa sakho: kungani isiphequluli sami se-safari se-PC sikhombisa izici ze-google kepha singanginiki ithuba lokuhlola izibuyekezo (izibuyekezo zesayithi lokuxhumana) nokunye okunjalo?

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

    Sawubona Doug,

    Ngingeze lo mbhalo ongenhla kepha kubonakala ngathi awusebenzi. Noma yini engiyishiyile eniyaziyo nina? 

    Kuzoba wusizo olukhulu uma ungangiyisa phambili kulokhu. 

    Ngiyabonga,
    UNishanth T.

    • 9

      Izinto ezimbalwa, @ google-1f23c56cd05959c64c268d8e9c84162e: disqus. Okokuqala (futhi okusobala kakhulu) ukuqinisekisa ukuthi ikhodi yakho ye-UA isethwe kahle. Ngiyakuzonda ukubhala lokho, kepha kwesinye isikhathi siyakopisha sinamathisele bese siyakhohlwa. Okwesibili… kuzothatha amahora amaningi ukubamba. Inike usuku bese uyabona!

      • 10

        Sawubona @douglaskarr: disqus - Ngiyabonga kakhulu ngempendulo. Ihlonishwa kakhulu- ikhodi ye-UA isethwe kahle. Wayihlola futhi. Bengilokhu ngiyilandela ngale khodi isikhathi esingaphezu kwenyanga manje. Ama-microsites / ama-sub-domains awaveli ku-GA. 

        Ihlombe…

  8. 11

    Ngiyabonga! Kusiza kakhulu. Nginekhodi efanayo esebenza ezizindeni ezahlukahlukene, kuya ngokuthi i-http noma i-https iyasetshenziswa yini (ikakhulukazi ukuhlukanisa amakhukhi, ngoba ngiphinde ngibe namaphakeji ahlukene wokubuya emuva futhi ngifuna ukugwema ama-akhawunti wesitayela sokuphindaphinda), kepha i-JavaScript izinguquko bezincane impela.

  9. 12

    Sawubona lapho ngenxa yalesi sifundo sasiza kakhulu! Ngakho-ke uma ngifaka ikhodi kuzo zonke izizinda zami ezingaphansi yizibalo ezibonisa ukuthi izibalo zizofaka ithrafikhi evela kuma-subdimain ami?

  10. 13

UCABANGANI?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda ukuthi idatha yakho yokuphawula isetshenziswa kanjani.