Peeji nke a na - enweta ngwa ngwa dị ngwa, mana echefula nchịkọta!

Mobile ekwentị SEO

N’ọnwa gara aga mụ na onye ahịa na-arụkọ ọrụ, nke a hụrụ n’adabereghị na nyocha okporo ụzọ n’afọ gara aga. Anyị edoziela nsogbu ole na ole na saịtị ahụ nwere ike ịmetụta ọkwa; Agbanyeghị, atụfuru m otu isi ihe dị mkpa n'ịtụle nyocha ha - Peeji Ntughari (AMP).

Kedu ihe bụ AMP?

Site na weebụsaịtị ndị na-emeghachi omume na-aghọ ụkpụrụ, oke na ọsọ nke saịtị mkpanaka na-enwe mmetụta dị ukwuu, na-ebelata saịtị ma na-enye ahụmịhe ndị ọrụ na-abụghị otu. Google mepụtara IGBOB idozi nke a, budata pairing peeji nwere ụdị yiri na obi na budata obere size; ya mere, na-enye ahụmịhe onye ọrụ yiri ya yana ọsịsọ ihu akwụkwọ pụtara ìhè maka ndị na-eji injin nchọ ihe. Ọ bụ usoro na-asọ mpi Facebook ozugbo Isiokwu na Apple News.

Saịtị ndị nwere AMP ahazi na-ahụ ugboro atọ na ise ugboro nri okporo ụzọ ha na-ahụ na-enweghị usoro ahụ, yabụ ana m atụ aro ka ị tinye AMP ozugbo. Peoplefọdụ ndị na-eme mkpesa na saịtị AMP gosipụtara site na URL nke Google na ngwaọrụ mkpanaka, ihe nwere ike imetụta njikọta na ịkekọrịta. Google azaghachila site na ịnye njikọ kpọmkwem na isiokwu ahụ. Ekwenyere m n'eziokwu na abamuru ya karịrị ọghọm dị na ya.

Y’oburu na iji WordPress, Automattic weputara ihe siri ike WordPress AMP ngwa mgbakwunye nke na-ewepụta usoro kwesịrị ekwesị ma tinye ụzọ permalink dị mkpa. Dịka ọmụmaatụ, ị ga-ahụ na isiokwu a dị na:

https://martech.zone/accelerated-mobile-pages/

Na ụdị AMP nke isiokwu dị na:

https://martech.zone/accelerated-mobile-pages/amp/

Etinyere m AMP ngwa ngwa na saịtị m na ọtụtụ ndị ahịa m, mana eleghara m anya otu okwu dị oke mkpa. Ngwa mgbakwunye AMP akwadoghị ihe nchịkọta nke atọ ọzọ dị ka Google Analytics. Yabụ, dị ka onye ahịa m, anyị na-enweta ntakịrị okporo ụzọ okporo ụzọ na-aga na peeji AMP anyị mana anyị ahụghị nke ọ bụla n'ime okporo ụzọ Google Analytics ahụ. Na ọda anyị na-ahụ abụghị mbelata ma ọlị, ọ bụ naanị nchịkọta Google ma gosipụta ibe AMP anyị kama. Na-akụda mmụọ!

Etu esi eji aka tinye Google Analytics na WordPress AMP

Difficultzọ siri ike itinye n'ọrụ Nchịkọta Google na AMP bụ itinye koodu na faịlụ function.php nke isiokwu gị nke na-etinye JavaScript dị mkpa na nkụnye eji isi mee gị na oku na nchịkọta Google na ahụ nke ibe AMP gị. Edere ederede gị:

add_action ('amp_post_template_header', 'amp_custom_header'); ọrụ amp_custom_header ($ amp_template) {?> 

Mgbe ahụ ederede ederede gị maka ịgbakwunye oku gị na nchịkọta Google (hụ na ị ga-eji dochie UA-XXXXX-Y na njirimara akaụntụ nchịkọta gị:

tinye_action ('amp_post_template_footer', 'amp_custom_footer'); ọrụ amp_custom_footer ($ amp_template) {?>
{
"vars": {
"account": "UA-XXXXX-Y"
},
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview"
}
}
}

Etu esi etinye Google Analytics na WordPress AMP

Zọ kachasị mfe iji mejuputa Google Analytics na WordPress AMP bụ iji usoro atọ ndị a:

  1. WordPress AMP
  2. Yoast SEO
  3. Nkọwa maka Yoast SEO & AMP

Ihe ngosi maka Yoast SEO & AMP ngwa mgbakwunye ka anyị abụọ gbanwee ọdịdị na mmetụta nke mmepụta AMP gị yana gbakwunye snippet koodu nchịkọta (nke dị n'elu maka ahụ) ozugbo na ntọala ngwa mgbakwunye.

Mgbaze Yoast SEO AMP Analytics

Etu esi nwalee ihu akwukwo AMP gi

Ozugbo i mejuputara AMP n'ụzọ zuru ezu, jide n'aka na ị ga-eji nyocha AMP nke Google iji hụ na ị nweghị nsogbu ọ bụla.

Nwaleenụ peeji AMP m

Nsonaazụ ule kwesịrị ịbụ:

Peeji AMP ziri ezi

Kedu ihe ị chere?

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