Iji mkpọsa iji soro udi otu na WordPress na Google Analytics

nchịkọta ụwa niile

M ikpeazụ post, m chọpụtara a n'aka nke nsuso WordPress edemede site na ike ịgafe ngalaba aha na koodu edemede maka nchịkọta Google. Nsogbu dị na ịbịaru nso bụ na oge ọ bụla ị tinyere ọrụ nsuso ahụ, ọ na-ebute ihu akwụkwọ. Yabụ, ọ bụrụ na ị nwere otutu edemede mara, ị ga - eme ihe ngosi ọtụtụ peeji. Ọgbụ!

N'ihi ya, m mere igwu ala ma chọpụta na ị nwere ike ịtọlite ​​mkpọsa na Google Analytics ma weghara aha ụdị dị ka isiokwu maka mkpọsa ahụ. Na obere obere mgbanwe na koodu ahụ, ịnwere ike ịme mkpọsa ngwa ngwa, nke a na-akpọ "Otu".

Na-agbanwe Usoro Nchịkọta gị

N'ime ntọala gị, ị ga - ahụ akara ngosi nchịkọta Google Analytics gị:

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

Ma jiri koodu a dochie ya (jide n'aka na ị ga-eji koodu UA gị dochie anya xxxxxx-x):

_uacct = "UA-xxxxxx-x";
_uccn = "udi"; _ucsr = "post"; _ucmd = "arịrịọ"; _ucct = "0"; aha cat_ ","; }?> _uctr = " "; UgbainkeTracker (); </ akwukwọ->

ga ugbu a melite nhazi ntanetị maka mkpọsa gị! N'ime ụbọchị ole na ole, ị ga-enwe ike ịgbaso mkpọsa na Google Analytics! Aha mkpọsa ahụ ga-abụ "otu", ad mgbasa ozi ga - abụ "post", ụdị mgbasa ozi ga - abụ "arịrịọ" na ụdị a ga - abụ "1.0"!

Mgbasa Ozi Google Analytics

7 Comments

  1. 1
  2. 2

    Ndị…

    _ucsr = "post";
    _ucmd=”arịrịọ”;
    _ucct="1.0";

    ... ihe niile achọrọ ma ọ bụ enwere m ike ịlanarị naanị ịgbakwunye aha mkpọsa na usoro mkpọsa?

    _uccn = "okwu okwu";
    _uctr = "ndepụta, nke, mkpụrụokwu";

  3. 3

    Daalụ Doug, m na-agbalị ịgbaso ntuziaka gị mana m na-efunarị na ịmepụta nzacha omenala. Kedu ka isi mere nke gị?

    • 4

      Ndewo Fred,

      M ka na-emezigharị nke ọma wee gbanwee ihe ole na ole na nzacha m kemgbe edere nke a. Ị gaghị ekweta ya… ma enweghị m ike icheta ka m si hazie ya! (Doh!) Achọrọ m ịme ụfọdụ injinia azụ.

      N'ụzọ dị mwute, Google Analytics nwere ụfọdụ egwu akwụkwọ!

      Doug

Kedu ihe ị chere?

Ebe a na-eji Akismet iji belata spam. Mụta otu esi etinye usoro data gị.