Usebenzisa imikhankaso ukulandelela ukuthandwa kwesigaba kuWordPress nakuGoogle Analytics

izibalo zomhlaba wonke

Eposini lami lokugcina, ngithole indlela ye- ethungatha imikhakha ye-WordPress ngokudlulisa ngamandla amagama wesigaba kukhodi yeskripthi ye-Google Analytics. Inkinga yendlela ukuthi isikhathi ngasinye lapho uqinisa umsebenzi wokulandela umkhondo, kuba nomphumela ekubukweni kwekhasi. Ngakho-ke, uma unezigaba eziningi ezikhonjiwe, uvala ukwenza ukubukwa kwamakhasi amaningi. Yebo!

Ngakho-ke ngenze ukumba okuthile ngathola ukuthi ungasetha umkhankaso ku-Google Analytics bese uthwebula amagama wesigaba njengamagama asemqoka alo mkhankaso. Ngezinguquko ezithile ezincane kukhodi, ungakwazi ukwakha umkhankaso kalula, obizwa nge- "Category".

Ilungisa ikhodi yakho yezibalo

Ngaphakathi kukanyaweni wesayithi lakho, uzothola umaki weskripthi sakho seGoogle Analytics

_uacct = "UA-xxxxxx-x";
urchinTracker();

Bese ufake le khodi (qiniseka ukufaka ikhodi yakho ye-UA esikhundleni se-xxxxxx-x):

_uacct = "UA-xxxxxx-x";
_uccn = "isigaba"; _ucsr = "okuthunyelwe"; _ucmd = "isicelo"; _ucct = "0"; ikati_igama. ","; }?> _uctr = " "; i-urchinTracker (); </script>

Wena kumele manje setha isihlungi sangokwezifiso somkhankaso wakho! Ezinsukwini ezimbalwa, uzokwazi ukulandelela imikhankaso ku-Google Analytics! Igama lomkhankaso lizoba "isigaba", umthombo wesikhangiso uzoba "okuthunyelwe", uhlobo lwesikhangiso luzoba "isicelo" bese kuthi uhlobo lube "1.0"!

Imikhankaso ye-Google Analytics

7 Amazwana

  1. 1
  2. 2

    Ingabe…

    _ucsr = "okuthunyelwe";
    _ucmd = "isicelo";
    _ucct = ”1.0 ″;

    … Konke kuyadingeka noma ngingabaleka ngokwengeza nje igama lomkhankaso namagama womkhankaso?

    _uccn = "amagama angukhiye";
    _uctr = ”uhlu, lwamagama angukhiye”;

  3. 3

    Ngiyabonga uDoug, ngizama ukulandela imiyalo yakho kepha ngiyalahleka ekwakheni isihlungi sangokwezifiso. Uzibeke kanjani ezakho?

    • 4

      Sawubona Fred,

      Ngisahlela kahle futhi ngishintshe izinto ezimbalwa kuzihlungi zami selokhu ngabhala lokhu. Ngeke ukholwe… kepha angikhumbuli ukuthi ngikumise kanjani! (Doh!) Ngidinga ukwenza ubunjiniyela obuyela emuva.

      Ngeshwa, iGoogle Analytics inemibhalo ethile esabekayo!

      Doug

UCABANGANI?

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