Nrhiav Ntau Tus Cuam Tshuam WordPress nrog Google Analytics

Google Analytics

Kuv tau sau lwm txoj hauv kev yuav ua li cas mus taug qab ntau tus kws sau ntawv hauv WordPress nrog Google Analytics ib zaug ua ntej, tab sis tau txais nws tsis ncaj ncees lawm! Sab nraum WordPress Loop, koj tsis tuaj yeem sau cov npe sau cia yog li cov cai tsis ua haujlwm.

Thov txim rau qhov swb.

Kuv tau ua qee qhov kev khawb ntxiv thiab pom tau tias yuav ua li cas thiaj li ua rau nws ntse dua nrog ntau cov ntaub ntawv Google Analytics. (Hais qhov tseeb - qhov no yog thaum koj los nyiam kev ua haujlwm analytics pob nyiam Webtrends!)

Kauj ruam 1: Ntxiv ib qhov Profile rau qhov uas txuas uas sau

Thawj kauj ruam yog los ntxiv ib qho profile ntxiv rau koj cov sau npe tam sim no. Qhov no yog qhov kev xaiv uas neeg feem coob tsis paub nrog tab sis ua haujlwm zoo kawg nkaus rau qhov xwm txheej no.
uas twb muaj lawm-profile.png

Kauj ruam 2: Ntxiv ib qho Nrog rau Kev Sau Npe Sau Npe Sau

Koj yuav xav tau tsuas yog ntsuas cov nplooj ntawv saib taug qab los ntawm tus sau hauv qhov profile no, yog li ntxiv ib lub lim rau cov ntawv hloov chaw / tus sau /Cov. Ib tsab ntawv ntawm qhov no - Kuv yuav tsum tau ua “uas muaj” raws li tus neeg teb xov tooj. Google cov lus qhia hu rau a ^ ua ntej daim nplaub tshev. Qhov tseeb, koj tsis tuaj yeem sau tus ^ rau tom teb!
Xws li-sau.png

Kauj Ruam 3: Ntxiv Tsum Tsum Tshem Tawm rau koj Thawj Tus Qauv

Koj yuav tsis xav tau tiag tiag taug qab txhua qhov kev lom zem ntxiv rau sab nraud los ntawm tus sau hauv koj tus Thawj Profile, yog li ntxiv cov lim rau koj cov ntaub ntawv keeb kwm tshwj xeeb cais cov ntawv qhia / los ntawm-sau /.

Kauj Ruam 4: Ntxiv Voj rau hauv Ntawv Teev Footer

Hauv koj qhov Google Analytics uas twb muaj lawm thiab hauv qab koj txoj kab trackPageView tam sim no, ntxiv cov voj hauv qab no hauv koj cov ntawv cim cov ntsiab lus:

var authorTracker = _gat._getTracker ("UA-x-X-X-X-X-X"); tus sauTracker._trackPageview ("/ los ntawm-tus sau / ");

Qhov no yuav ntes tag nrho koj cov kev taug qab, los ntawm tus sau, hauv ib qhov profile thib ob rau koj sau. Los ntawm kev tshem tawm cov kev taug qab no los ntawm koj tus thawj tus kheej, koj tsis ntxiv cov kev tso tawm kom tsis tsim nyog ntxiv. Nco ntsoov tias yog tias koj muaj qhov home page nrog 6 posts, koj yuav taug qab 6 pageviews nrog cov cai no - ib qho rau txhua tus ncej, taug qab los ntawm tus sau.

Ntawm no yog yuav ua li cas tus Neeg Saib Xyuas Tuav Tseg yuav saib nyob hauv qhov profile tshwj xeeb:
Txhaj Tshuaj Duab 2010-02-09 ntawm 10.23.32 AM.png

Yog tias koj tau ua tiav qhov no nyob rau hauv txoj kev sib txawv, Kuv qhib rau txoj kev ntxiv los taug qab cov ntaub ntawv ntawm tus sau! Txij li thaum kuv cov nyiaj Adsense tau cuam tshuam nrog cov profile, Kuv tuaj yeem pom tus sau phau ntawv tsim muaj cov nyiaj tshaj tawm feem ntau :).

11 Comments

  1. 1

    Yawm suab Doug! Lwm txoj hauv kev rau taug qab Cov sau phau ntawv ntawm qib no yog nrog kev tshwm sim taug qab hauv GA. Koj tuaj yeem tau txais lub tally ntawm ntau npaum li cas txhua zaus ntawm koj cov neeg sau ntawv cov lus tau raug saib, hauv tib lub profile ntawm koj cov ntaub ntawv tsis tu ncua, yam tsis muaj kev cuam tshuam pageviews. Tsis tas li, koj tuaj yeem siv ntau qhov ntev hauv Qhov Kev Tshaj Tawm los qhia seb qhov twg yog qhov twg tau tsav tsheb mus rau ntau tus neeg sau ntawv (piv txwv li leej twg nyiam nyeem feem ntau ntawm Twitter), qhov twg lawv los ntawm, thiab lwm yam. yog tshaj lub cim txwv. Ntawm no yog qhov txuas: http://www.wheresitworking.com/2010/02/08/tracking-authors-in-wordpress-with-google-analytics-event-tracking/

  2. 2
  3. 3

    Txaus, tsaug rau sib koom no Doug! Kuv pom tias the_author () yuav tsum tau hloov nrog get_the_author () txhawm rau tiv thaiv tus sau lub npe ua luam thiab tawm ob zaug.

    Tsis tas li, koj qhov kev daws teeb meem piv rau Adas li cas?

  4. 4

    Doug, Kuv tau sim ua qhov no, tab sis nws tsuas yog taug qab cov lus pom ntawm cov nplooj ntawv sau tiag tiag (… / tus sau / AUTHORNAME), thiab tsis yog cov lus pom ntawm txhua daim ntawv pom, sib cais los ntawm tus sau - txhua qhov kev xav?

    • 5

      Nyob zoo Jeremy!

      Txoj kev kuv tau siv nws tau tiag tiag siv ob qhov nyiaj sib txawv hauv Google Analytics (cais UA cov lis dej num). Kuv hu ib tus as khauj “Tus Sau” thiab ib qho cia kuv khaws cia tag nrho lub chaw. Ua kev txiav txim zoo?

      Doug

      • 6

        Oh, ob tug lig cais UA cov lis dej num? Kuv tsuas yog teeb tsa qhov tshiab tshiab nyob rau hauv blog UA code. Kuv mam li muab txhaj koob tshuaj tivthaiv ntawd thiab yuav qhia rau koj paub yog tias nws ua haujlwm rau kuv.

        Ua tsaug Doug!

  5. 7

    Ua tsaug ntau. Kuv sim no tawm tam sim no. Ib yam tab sis yog, Kuv tshem tawm "ncha" tawm ntawm lub voj vim nws zoo li ua rau luam tawm lub npe sau. Piv txwv / los ntawm-tus sau / Tus Sau Lub NpeAuthor Name tau tshwm sim nrog lub ncha.

  6. 8

    Tsaug rau qhov kev qhia. Kuv yuav tsum tau taug qab cov pageviews txhua tus kws sau ntawv xov xwm blog sau nyob rau hauv thiaj li yuav them lawv los ntawm views.

    Xws li qhov homepage tsis tshua ua haujlwm, ho.

    Koj tsuas tuaj yeem tshem tawm cov cai ntawm lub vev xaib? Yog tias cov lej ntawd tau muab tso rau hauv cov nplooj ntawv qhia ib nplooj ntawv (ib qho kev xaiv ntawm cov nplooj ntawv kev cai), puas yuav ua haujlwm tau? tsis suav lub vev xaib saib los ntawm cov suav?

  7. 10

    Koj yuav ua li cas rau kauj ruam 1 thov: “ntxiv ib qho profile ntxiv rau koj qhov tam sim no”

    Koj qhia yuav ua li cas ua kom tiav cov kauj ruam, tab sis tsis yog yuav ua li cas mus rau hauv thawj qhov chaw.

Yuav ua li cas koj xav hais tias?

Qhov Web site no siv Akismet los txo cov kev pabcuam. Kawm li cas koj cov ntaub ntawv tawm tswv yim tiav.