Landa ababhali abaninzi ngeGoogle Analytics

google Analytics

Kwindawo yokubhala emininzi, umbhali ngamnye angathumela uninzi lweendidi, phantse akunakwenzeka ukuba uchonge igalelo lombhali ngamnye kwisicwangciso esipheleleyo sesiza. Bendisenza uvavanyo oluthile ngoku kutshanje kwaye ndichonge indlela elula elula yokulinganisa ukugcwala kwabantu ngumbhali ngamnye.

google Analytics Iyakwazi ukulandelela eyongezelelweyo enembonakalo yenyani amaphepha. Oku kusetyenziselwa ukulandelela amakhonkco aphumayo kwintengiso okanye kwiminxeba yesenzo kumaphepha okufika. Nangona kunjalo, ngokumane usebenzisa ikhowudi yakho yeGoogle Analytics kwiphepha lakho elilodwa, unokulandelela ukuthandwa ngababhali ngabanye.

Ikhowudi eqhelekileyo ye-GA kwiphepha ibonakala ngoluhlobo:

I-var iphephaTracker = _gat._getTracker ("UA-XXXXXX-X"); iphephaTracker._initData (); iphephaTracker._trackPageview ();

Ungafaka umbono 'wephepha' ngokongeza oku kulandelayo:

I-var iphephaTracker = _gat._getTracker ("UA-XXXXXX-X"); iphephaTracker._initData (); iphephaTracker._trackPageview ("/ ngumbhali /Douglas Karr"); IphephaTracker._trackPageview ();

Ukwenza ngokwezifiso iWindowsPress:

I-var iphephaTracker = _gat._getTracker ("UA-XXXXXX-X"); iphephaTracker._initData (); iphephaTracker._trackPageview (? / umbhali / ?); iphephaTracker._trackPageview ();

EZINTSHA: Isibini sabaphawuli sichaze ukuba ayisebenzi- kuye kwafuneka ndongeze eyaziwayo I-loop ye-WordPress ngaphakathi!

Oku kuyakulayisha kuphela ukujonga iphepha eliyimfuneko kwiphepha elinye lePosi. Unokufuna ukwandisa oku ukubeka esweni iposi lokuqala kwiphepha lasekhaya, kodwa oku sisiqalo. Ngaphakathi kuGoogle Analytics, unokuvula ifayile ye- Ingxelo yesiqulatho kwaye uyihluze ngokulula "/ Umbhali /" Ukufumana uluhlu lwabo bonke ababhali kunye neembono zabo ezinxulumene nephepha, amaxabiso okuhlawula, ixesha kwiphepha, kunye nokuguqulwa.

Ngoku ungaqala ukuvuza ababhali bakho ngeyona galelo bazisa ngalo kumbutho wakho! Ndazise ukuba uyangena kwimicimbi usebenzisa i-WordPress- ndibhale ikhowudi kwaye andiyivivinyi.

16 Comments

  1. 1

    Oh kuhle! Andinabo ababhali abaninzi kwiibhloko zam okwangoku, kodwa ngokuqinisekileyo ndiza kuyibhukumaka lento ukuba yenzeke nini. Iingcebiso ezintle !!

  2. 2
    • 3

      Hee yawza!

      Eyona ndlela ilula, usebenzisa le ndlela ingentla kukuvula umxholo womxholo kunye nokuhluza ngu "/ umbhali /". Ngelo xesha, ungathumela ingxelo nge-imeyile kuwe veki nganye. Uhlalutyo lukaGoogle lwenza umsebenzi olungileyo wokugcina iifilitha kwiingxelo ezithunyelwe nge-imeyile (ndinqwenela ukuba zingavumela ukugcina ingxelo ngaloo ndlela!).

      Doug

  3. 4

    Ndizamile ukufaka ikhowudi yakho kodwa ayisebenzi kum. Ndinababhali aba-4 kwiBhlog yam yeWordPress kwaye nantsi ikhowudi endikhe ndayincamathisela Phambi kwethegi kwitemplate yam

    var gaJsHost = (("https:" == uxwebhu.location.protocol)? "https: // ssl.": "http: // www.");
    uxwebhu.

    zama {
    I-var iphephaTracker = _gat._getTracker ("UA-XXXXXX-X");
    iphephaTracker._initData ();

    iphephaTracker._trackPageview (? / umbhali /?);

    iphephaTracker._trackPageview ();
    } bamba (err) {}

    Nditshintshe i-UA-XXXXXX-X nge-ID yam…. Nceda undixelele ukuba ingaba ikhowudi yam ilungile okanye ayilunganga.

    Xa ndijonga kumthombo ndibona umbhali omnye kuphela ebonisiwe. Kwaye ngolwazi lwakho andisebenzisi nayiphi na iplagi yeWordPress.

    Nceda uncede! Ndiyayifuna kakubi le ..

    Enkosi

  4. 5

    Ndiyakholelwa ukuba le ndlela yokulandela umkhondo iya kusebenza kuphela ukuba ulwakhiwo lwakho lwe-permalink lubandakanya umbhali. Eyam ayenzi njalo ukujonga njani ukujongwa kwiphepha elithile lombhali othile xa ulwakhiwo lwam lwe-url http://www.mysite.com/month/day/posttitle?

    Ngaba ikhowudi inokulungiswa ukuze isebenzise i _setVar function?

    Ndizamile le khowudi ilandelayo:

    var pageTracker = _gat._getTracker("UA-XXXXXXX-X");

    pageTracker._setVar(??);

    pageTracker._trackPageview();

    kodwa andiqinisekanga ukuba ndiyayiqonda indlela esebenza ngayo loo nto okanye ukuba iyasebenza. Ndimtsha koku.

  5. 7

    ukongeza kuluvo lwam lokujonga kuqala…

    Ingxaki endinayo kukuba kufuneka ibizwe ngaphakathi kweLoop kodwa ngesiqhelo uyibeka i-GATC kwi-footer okanye kwi-header, hayi kuzo zonke iifayile zeetemplate ezibambe iluphu. Iingcinga zam?

    • 8

      Matt - Ndicinga ukuba mna nawe kwenzeke impendulo ngexesha elinye, kufanelekile ukuba ibe ngaphakathi kwiluphu. Ndiyilungisile ikhowudi kwaye ndikholelwa ukuba iluphu isazakusebenza ngaphandle komzimba nakwindawo yokubhaliweyo esezantsi. Inokuthi yenziwe lula ngokuseta umahluko ngaphakathi kwiluphu eqhelekileyo kwaye emva koko uyibize isuka ezinyaweni.

      Abanye babavakalisi bebevavanya-siza kubona ukuba iyasebenza na le nto! Ndayibona icothisa iphepha, nangona kunjalo.

      Doug

  6. 9
  7. 10
  8. 11

    Olu luphawu olukhulu kusetyenziso lwe-GA. Ngokuqinisekileyo ndiza kwabelana nabaxhasi bam. Enkosi ngokuthumela le nto. Iyahlekisa indlela esilibala ngokulula ngayo ukuba iJavascript inokusetyenziswa ngobuqili xa sixakeke ngokongeza ikhowudi kumaphepha!

    I-TGP-Ngokwenene iposti enkulu!

    Pierre

  9. 12

    Ndizamile le khowudi kwi-joomla.

    emva kwentsuku ezimbini zomthetho… Ndibona kuphela / i-autor / umntu othile ogunyazisiweyo kum. Andiphindi ndibone i-uri yokwenene yephepha kwakhona.

  10. 13

    Ke, sithini isigwebo apha? Ndinomdla kakhulu ngale khowudi kodwa andinandawo yeempazamo. UDouglas, lithini igama? Andiboni kuncokola kakhulu emva kweposti yakho yokugqibela ngokubhekisele kwimpumelelo / hayi.

    Enkosi ngombono omkhulu!

  11. 14

    Isigqibo kukuba yi-50% yesisombululo, Ross! Kuya kufuneka uchaze umbhali kuLoop… ukuba uyayenza, iya kugqitha ngokuchanekileyo ulwazi lombhali kuGoogle. Nangona kunjalo, uGoogle ngoku utshintshe ukubanjwa kwedatha kwaye uvumela ngaphezulu kokungafaniyo ngoku… ndiyeke le ndlela ngokupheleleyo. Ndiza kuzama ukubhala ukulandelela!

  12. 15

    Hayi uDouglas,
    Ndikhangela isisombululo sokulandela umxholo othile wombhali kwiWordPress ndisebenzisa i-GA. Ndingathanda ukubona inguqulelo ehlaziyiweyo yale khowudi njengoko ndiyifunayo kwenye yeebhlog zam zababhali abaninzi. Ngaba uya kuba nakho ukubhala ukulandelela? Ndiza kubhala malunga nayo kwaye ndikunike iiprops. 🙂 Enkosi ngokuqonda okumangalisayo njengesiqhelo.

  13. 16

    Enkosi ngempendulo ekhawulezayo uDoug, ndijonge phambili ekuboneni uhlaziyo xa unemzuzwana. Yonwabela iposti enkulu kunye nokulandelwa okuhle!

    URoss Dunn

Ingaba ucinga ntoni?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda indlela idatha yakho yokubhaliweyo isetyenziswe ngayo.