Kuteedzera Akawanda WordPress Vanyori neGoogle Analytics

Google Analytics

Ini ndakanyora imwe posvo yekuti ungateedzera sei vanyori vakawanda muWordPress neGoogle Analytics zvakamboitika, asi zvakakanganisa! Kunze kweiyo WordPress Loop, haugone kutora mazita emunyori saka kodhi haina kushanda.

Ndine urombo nekutadza.

Ini ndamboita imwe yekuchera nekuchera ndikaona maitiro ekuzviita nenjere nemazhinji Google Analytics profiles. (Chokwadi chaizvo - ndipo paunosvika pakuda hunyanzvi analytics mapakeji senge Webtrends!)

Nhanho 1: Wedzera iyo Mbiri kune Iripo Domain

Nhanho yekutanga ndeyekuwedzera imwe nhoroondo kudunhu rako razvino. Iyi sarudzo iyo vanhu vazhinji vasingazive nezvayo asi inoshanda zvakakwana kune iyi mhando yechiitiko.
chiripo-profile.png

Nhanho 2: Wedzera iyo Sanganisira Firita kune Nyowani Munyori Mbiri

Iwe uchazoda chete kuyera peji maonero akateedzerwa nevanyori mune ino purogiramu, saka wedzera firita yeiyo subdirectory / munyori /. Imwe katsamba pane izvi - ndaifanira kugadzira "izvo zvine" seanoshanda. Mirayiridzo yeGoogle inodaidzira a ^ pamberi pefaira. Muchokwadi, haugone kunyora ... mumunda!
Sanganisira-munyori.png

Nhanho 3: Wedzera iyo Bvisa Firita kune yako Yekutanga Mbiri

Iwe haudi kuda kunyatso tarisa ese ekuwedzera mapeji ekuona nemunyori muPurofesa yako yekutanga, saka wedzera firita kune yako yekutanga nhoroondo kusabvisa iyo subdirectory / nemunyori /.

Nhanho 4: Wedzera chiRoop muiyo Footer script

Mukati meyako iripo Google Analytics yekutevera uye pazasi yazvino trackPageView mutsara, wedzera chinotevera chiuno mune rako tsoka tsoka faira:

var munyoriTracker = _gat._getTracker ("UA-xxxxxxxx-x"); munyoriTracker._trackPageview ("/ na-munyori / ");

Izvi zvinotora zvese zvako zvekutevera, nemunyori, mune yechipiri nhoroondo yedomain yako. Nekusabvisa iyi yekutevera kubva kune yako yekutanga profile, iwe haawedzere kuwedzeredza zvisina basa peji rekutarisa. Ramba uchifunga kuti kana iwe uine peji repamba rine matanhatu maposita, iwe unoteedzera matanhatu mapeji ekuongorora nekodhi iyi - imwe yeimwe posvo, inoteverwa nemunyori.

Heano maratidziro anozoitwa neMunyori Kuongorora mune iyo chaiyo profil.
Screen shot 2010-02-09 at 10.23.32 AM.png

Kana iwe waita izvi neimwe nzira, ini ndakavhurika kune dzimwe nzira dzekutevera ruzivo rwemunyori! Sezvo yangu Adsense mari inosanganisirwa neprofile, ini ndinogona kutoona ndevapi vanyori vari kugadzira yakanyanya kushambadzira mari :).

11 Comments

  1. 1

    Yakanaka post Doug! Imwe nzira yekutevera Vanyori padanho iri ndeye chiitiko chekutevera muGA. Iwe unogona kuwana kuverenga kwekuti kangani nguva imwe neimwe yevanyori vako zvakatumirwa, mune imwecheteyo mbiri seyakajairika data, pasina inflating peji rekutarisa. Zvakare, iwe unogona kushandisa zviyero zvakawandisa mune Chiitiko kushuma kuti uone zvipi zviwanikwa zvaive zvichichaira vashanyi kune vakasiyana vanyori (semuenzaniso ndiani ari kukwezva vaverengi vazhinji kuburikidza neTwitter), kwavari kubva, nezvimwewo ini ndakaedza kutumira script, asi ini yaive pamusoro pehunhu hunhu. Hechino chinongedzo: http://www.wheresitworking.com/2010/02/08/tracking-authors-in-wordpress-with-google-analytics-event-tracking/

  2. 2
  3. 3

    Zvinotyisa, ndatenda nekugovana iyi Doug! Ndiri kuona kuti iyo_author () inoda kutsiviwa ne get_the_author () kuitira kudzivirira zita remunyori kudzokororwa uye kuburitswa kaviri.

    Zvakare, yako mhinduro inofananidzwa sei neyaAdamu?

  4. 4
    • 5

      Mhoro Jeremy!

      Maitiro andakaita izvi ainyatso kushandisa maakaundi maviri akasiyana mukati meGoogle Analytics (akaparadzaniswa macodhi eUA). Ini ndinodana imwe account "Munyori" uye imwe yacho ini yandinochengeta senzvimbo yese. Zvine musoro?

      Doug

  5. 7

    Ndatenda zvikuru. Ndiri kuedza izvi izvozvi. Chinhu chimwe chete hazvo, ini ndakabvisa "echo" kunze kwechiuno nekuti yaiita kunge iri kuteedzera zita remunyori. Semuenzaniso / nemunyori / Munyori ZitaZita reMunyori raioneka neiyo echo.

  6. 8

    Kutenda dzidziso. Ini ndinofanirwa kuteedzera iwo anotarisisa pamapeji munyori wega wega pane blog blog inounganidza kuti uvabhadhare nemaonero.

    Kusanganisira iyo peji reimba hakunyatsoshanda, zvakadaro.

    Unogona here kungoisa kodhi kubva papeji rekutanga? Kana iyo kodhi yakaiswa chete mune imwechete-peji marongero (sarudzo pane yakasarudzika mapeji ewebhu), zvaizoshanda here? kusasanganisa maonero epamusha kubva pakuverenga?

  7. 10

    Unoita sei nhanho yekutanga ndapota: "wedzera imwe nhoroondo kudunhu rako razvino"

    Iwe unoratidza maitiro ekupedzisa nhanho, asi kwete kuti ungasvika sei pakutanga.

Unofungei?

Nzvimbo iyi inoshandisa Akismet kuderedza spam. Dzidza kuti sei deta yako inoshandiswa.