Tsatani Olemba Ambiri ndi Google Analytics

Analytics Google

Patsamba la olemba angapo, wolemba aliyense atha kutumiza m'magulu angapo, ndizosatheka kuzindikira zopereka za wolemba aliyense pamalingaliro onse atsambali. Ndidayesa kuyesa izi posachedwa ndipo ndazindikira njira yabwino yosavuta kuchuluka kwa magalimoto wolemba aliyense.

Analytics Google amatha kutsatira zowonjezera pafupifupi masamba. Izi zimagwiritsidwa ntchito kutsata maulalo omwe akutuluka kutsatsa kapena kuyitanitsa kuchitapo masamba ofikira. Komabe, pongogwiritsa ntchito nambala yanu ya Google Analytics patsamba lanu limodzi, mutha kutsata kutchuka kwa olemba pawokha.

Ma code wamba a GA patsamba amawoneka motere:

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

Mutha kuyika chithunzi cha 'virtual' powonjezera izi:

var tsambaTracker = _gat._getTracker ("UA-XXXXXX-X"); tsambaTracker._initData (); tsambaTracker._trackPageview ("/ wolemba / wolemba /Douglas Karr"); tsambaTracker._trackPageview ();

Kusintha kwa WordPress:

var tsambaTracker = _gat._getTracker ("UA-XXXXXX-X"); tsambaTracker._initData (); tsambaTracker._trackPageview (? / wolemba / ?); tsambaTracker._trackPageview ();

LIPOTI: Olemba ndemanga angapo adati sizinagwire - ndimayenera kuwonjezera yotchuka Chingwe cha WordPress mkati!

Izi zitha kungoyang'ana tsamba loyenera patsamba limodzi. Mungafune kukulitsa izi kuti muwunikire zolemba zoyambirira patsamba lanyumba, koma ichi ndi chiyambi. Mukakhala ndi Google Analytics, mutha kutsegula fayilo ya Lipoti Lopanga ndikungosefa ndi “/ Wolemba /” kuti mupeze mndandanda wa olemba onse ndi mawonedwe awo a masamba, mitengo yotsika, nthawi patsamba, ndi kutembenuka.

Tsopano mutha kuyamba kupatsa mwayi olemba anu pazomwe amapereka kubungwe lanu! Ndidziwitseni ngati mungakumane ndi mavuto pogwiritsa ntchito WordPress - Ndalemba nambalayo ndipo sindinayese.

16 Comments

  1. 1

    O, ZABWINO! Ndilibe olemba angapo pamabulogu anga pano, koma ndithandizira izi kuti zichitike liti. Malangizo abwino !!

  2. 2
    • 3

      Hei yawza!

      Njira yosavuta, kugwiritsa ntchito njira yomwe ili pamwambayi ndikutsegula lipoti la zosefera ndi "/ wolemba /". Pamenepo, mutha kutumizira imelo lipotilo sabata iliyonse. Google Analytics imagwira ntchito yabwino yopulumutsa zosefera pamalipoti amaimelo (Ndikulakalaka alola kupulumutsa lipotilo mwanjira imeneyo!).

      Doug

  3. 4

    Ndayesera kukhazikitsa Code yanu koma sikundigwira ntchito. Ndili ndi olemba 4 Mu Blog yanga ya WordPress ndipo nayi nambala yomwe ndalemba Pambuyo pa chizindikirocho

    var gaJsHost = ((““ https: ”== document.location.protocol)?“ https: // ssl. ”:“ http: // www. ”);
    chikalata.write (unescape (“% 3Cscript src = '” + gaJsHost + “google-analytics.com/ga.js' type = 'text / javascript'% 3E% 3C / script% 3E”)));

    yesani {
    var tsambaTracker = _gat._getTracker ("UA-XXXXXX-X");
    tsambaTracker._initData ();

    tsambaTracker._trackPageview (? / wolemba /?);

    tsambaTracker._trackPageview ();
    } kugwira (err) {}

    Ndasintha UA-XXXXXX-X ndi ID Yanga…. Chonde ndiuzeni ngati nambala yanga ili yolondola kapena yolakwika.

    Ndikayang'ana komwe ndidachokera ndikawona wolemba m'modzi yekha akuwonetsedwa. Ndipo pazambiri Zanu sindimagwiritsa ntchito pulogalamu yowonjezera ya WordPress.

    Chonde thandizirani! Ndikufuna izi moyipa ..

    Zikomo

  4. 5

    Ndikukhulupirira kuti njira yotsatirayi ingogwira ntchito ngati dongosolo lanu la permalink likuphatikiza wolemba. Zanga sizili choncho ndingayang'anire bwanji kutsatsa kwa wolemba wina pomwe ulalo wanga uli http://www.mysite.com/month/day/posttitle?

    Kodi ma code angasinthidwe kuti agwiritse ntchito _setVar function?

    Ndayesa nambala yotsatira:

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

    pageTracker._setVar(??);

    pageTracker._trackPageview();

    koma sindikutsimikiza kuti ndimvetsetsa momwe ntchitoyi imagwirira ntchito kapena ngati ikugwira ntchito. Ndine watsopano pa izi.

    • 6

      Ndikukhulupirira ndikudziwa kuti vuto ndi chiyani, MUYENERA kukulunga php mu WordPress loop. Tsoka ilo, WordPress siyimasiyanitsa kaya ndi tsamba limodzi kapena ayi. Ndikusintha nambala iyi positi ya blog.

  5. 7

    kuwonjezera pa ndemanga yanga yowonera ...

    Vuto lomwe ndili nalo ndiloti liyenera kuyitanidwa mu Loop koma nthawi zambiri mumayika GATC pamutu kapena pamutu, osati mufayilo iliyonse ya template. Maganizo?

    • 8

      Matt - Ndikuganiza kuti iwe ndi ine tidachitapo kanthu poyankha nthawi yomweyo, ziyenera kukhala zili mkati. Ndasintha ndondomekoyi ndikukhulupirira kuti malowo azigwirabe ntchito kunja kwa thupi komanso pamapazi. Itha kukhala yosavuta poyika kusinthasintha mkati mwazolowera ndiyeno nkuyiyitanitsa kuchokera pamapazi.

      Ena mwa opereka ndemanga akhala akuyesa - tiwona ngati izi zikuyenda bwino! Nditha kuziwona zikuchepetsa tsamba, komabe.

      Doug

  6. 9
  7. 10
  8. 11

    Uku ndikumvetsetsa kwakukulu pakugwiritsa ntchito GA. Ndigawana izi ndi makasitomala anga. Zikomo chifukwa cholemba izi. Zoseketsa momwe timayiwala mosavuta kuti Javascript itha kugwiritsidwa ntchito tikakhala otanganidwa kwambiri kuwonjezera nambala pamasamba!

    TGP - Chotsatira Chachikulu Kwambiri!

    mwala

  9. 12

    Ndayesa nambala iyi pa joomla.

    Pambuyo pa tsiku lachiwiri la stat ... Ndikuwona okha / autor / wolemba wina mu stat yanga. Sindiwonanso uri weniweni wa tsambali.

  10. 13

    Ndiye, chigamulo chake ndi chiti apa? Ndimachita chidwi ndi nambala iyi koma ndilibe zolakwitsa. Douglas, ndi mawu ati? Sindikuwona zokambirana zambiri pambuyo positi yanu yomaliza yokhudza kupambana / ayi.

    Zikomo kwambiri!

  11. 14

    Chigamulo ndikuti ndi 50% ya yankho, Ross! Muyenera kutchula wolemba mu Chingwe… ngati mutero, ndiye kuti zitha kupatsa Google chidziwitso cha wolemba. Komabe, Google yasintha momwe imagwirira ntchito ndipo imalola zosintha chimodzi tsopano… chifukwa chake nditha kusiya njirayi palimodzi. Ndiyesera kulemba kutsatira!

  12. 15

    Hei Douglas,
    Ndikufunanso yankho lotsata zomwe zili mu WordPress pogwiritsa ntchito GA. Ndingakonde kuwona mtundu watsopanowu monga momwe ndimafunira ma blogi anga ambiri olemba. Kodi mutha kulemba kutsatira? Ndilemba za izi ndikupatseni ma props. 🙂 Zikomo chifukwa chakuzindikira kwanthawi zonse.

  13. 16

    Zikomo chifukwa choyankha mwachangu Doug, ndikuyembekezera kuwona zosintha mukakhala ndi mphindi. Limbikitsani ntchito yayikulu ndikutsatira bwino!

    Ross Dunn

Mukuganiza chiyani?

Tsambali likugwiritsa ntchito Akismet kuchepetsa spam. Phunzirani momwe deta yanu ikufotokozera.