Ho sebelisa mats'olo ho latela sehlopha se tummeng ho WordPress le Google Analytics

li-analytics tsa bokahohleng

Ketsahalong ea ka ea ho qetela, ke fumane mokhoa oa ho latela likarolo tsa WordPress ka ho fetisa ka matla mabitso a sehlopha ka khoutu ea script bakeng sa Google Analytics. Bothata ba mokhoa ona ke hore nako le nako ha u tiisa tšebetso ea ho latela, e fella ka pono ea leqephe. Kahoo, haeba u na le mekhahlelo e mengata e khethiloeng, u tla etsa maikutlo a maqephe a mangata. Hantle!

Kahoo ke ile ka cheka mme ka tseba hore o ka theha lets'olo ho Google Analytics mme oa hapa mabitso a sehlopha e le mantsoe a bohlokoa bakeng sa lets'olo leo. Ka liphetoho tse nyane tsa khoutu, o ka etsa lets'oao habonolo, le bitsoang "Sehlopha".

Ho fetola Khoutu ea hau ea Analytics

Ka hare ho leqephe la sebaka sa hau sa marang-rang, u tla fumana letshwao la script la Google Analytics:

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

'Me u khutlisetse seo ka khoutu ena (etsa bonnete ba hore u kenya khoutu ea hau ea UA sebakeng sa xxxxxx-x):

_uacct = "UA-xxxxxx-x";
_uccn = "sehlopha"; _ucsr = "poso"; _ucmd = "kopo"; _ucct = "0"; katse_lebitso. ","; }?> _uctr = " "; urchinTracker (); </script>

o lokela ho joale theha setlhophiso sa tloaelo bakeng sa lets'olo la hau! Pele ho feta matsatsi a seng makae, o tla tseba ho latela liphutuho ho Google Analytics! Lebitso la lets'olo le tla ba "sehlopha", mohloli oa papatso e tla ba "poso", mofuta oa papatso e tla ba "kopo" mme mofuta o tla ba "1.0"!

Masolo a Google Analytics

7 Comments

  1. 1
  2. 2

    Ba…

    _ucsr="poso";
    _ucmd=”kopo”;
    _ucct=”1.0″;

    ... tsohle li hlokahala kapa nka baleha feela ho eketsa lebitso la lets'olo le lipehelo tsa lets'olo?

    _uccn="mantsoe a bohlokoa";
    _uctr="lenane,la,mantsoe a bohlokoa";

  3. 3

    Kea leboha Doug, ke leka ho latela litaelo tsa hau empa ke ntse ke lahleha ha ke theha sefahla sa tloaelo. U entse ea hau joang?

    • 4

      Lumela Fred,

      Ke ntse ke lokisa hantle 'me ke fetotse lintho tse' maloa ho li-filters tsa ka ho tloha ha ke ngola sena. U ke ke ua e lumela… empa ha ke hopole hore na ke e behile joang! (Doh!) Ke hloka ho etsa reverse engineering.

      Ka bomalimabe, Google Analytics e na le litokomane tse mpe!

      Doug

U nahana eng?

Sebaka sena se sebelisa Akismet ho fokotsa spam. Ithute kamoo litlhaloso tsa hau li hlahang kateng.