Ukukhawuleziswa kwamaphepha eselfowuni ayimfuneko, kodwa ungalibali uhlalutyo!

Iselfowuni SEO

Kule nyanga iphelileyo bendisebenza nomthengi obonayo ukwehla okubonakalayo kwitrafikhi yokukhangela yendalo kunyaka ophelileyo. Silungelelanise imiba embalwa kunye nesiza esinokuchaphazela isikhundla; Nangona kunjalo, bendilahlekile inqaku eliphambili lokujonga kwakhona i-analytics yabo - Amaphepha aShukumisayo aKhawulezayo (i-AMP).

Yintoni i-AMP?

Ngeewebhusayithi eziphendulayo eziba yinto eqhelekileyo, ubungakanani kunye nesantya seendawo ezihambayo ziba nefuthe kakhulu, zihlala zinciphisa iisayithi kwaye zibonelela ngamava omsebenzisi angahambelaniyo. UGoogle uphuhlisile AMP ukulungisa oku, ngokudibanisa ngokubonakalayo amaphepha ukuze ujongeke kwaye uzive kwaye ubungakanani bungaphantsi; Ke ngoko, ukubonelela ngamava omsebenzisi afanayo kunye nesantya esivelileyo sephepha kubasebenzisi beenjini yokukhangela. Yifomathi ekhuphisana nayo Amanqaku akhawulezileyo kuFacebook kwaye Apple News.

IiSayithi ezine-AMP ezilungiselelwe ziyabona Amaxesha amathathu kuye kahlanu e-organic traffic Bebebona ngaphandle kwefomathi, ke ndacebisa kakhulu ukuba udibanise i-AMP kwangoko. Abanye abantu babekhalaza ngokuba iisayithi ze-AMP ziboniswa nge-URL kaGoogle kwifowuni ephathekayo, into enokuba nefuthe elibi ekunxibelelaneni nasekwabelaneni. UGoogle uphendule ngokunikezela ikhonkco ngqo kwinqaku ngokunjalo. Ndiyakholelwa ngokunyanisekileyo ukuba izibonelelo zingaphezulu komngcipheko.

Ukuba usebenzisa i-WordPress, i-Automattic ikhuphe i-robust kakhulu Iplagi ye-WordPress ye-AMP ukhupha ifomathi efanelekileyo kwaye asebenzise indlela efanelekileyo ye-permalink. Njengomzekelo, uya kubona ukuba eli nqaku liku:

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

Kwaye inguqulelo ye-AMP yenqaku iyafumaneka kwi:

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

Ndimilisele i-AMP ngokukhawuleza kwindawo yam kunye nabathengi bam abaninzi, kodwa andahoya ukuqaphela umba omnye obalulekileyo. Iplagi ye-AMP ayixhasi Ukudityaniswa kweqela lesithathu njengeGoogle Analytics. Ke, njengomthengi wam, besifumana isithuthi esincinci kakhulu esiya kumaphepha e-AMP kodwa singaboni nasiphi na eso sigxina kuGoogle Analytics. Inkqubo ye- ukuhla besibona ukuba yayingekuko ukuncipha konke konke, yayisalathiso sikaGoogle kuphela kwaye sibonisa amaphepha e-AMP endaweni yoko. Kuyakhathaza kakhulu!

Uyenza njani ngesandla iGoogle Analytics ngeWordPress ye-AMP

Iindlela ezinzima zokuphumeza Uhlalutyo lukaGoogle kunye ne-AMP kukongeza ikhowudi kwimisebenzi yefayile yakho.php efaka iJavaScript eyimfuneko entlokweni yakho kunye nomnxeba oya kuGoogle Analytics emzimbeni wephepha lakho le-AMP. Isicatshulwa sakho esikwiphepha:

add_action ('amp_post_template_header', 'amp_custom_header'); umsebenzi amp_custom_header ($ amp_template) {?>

Emva koko iskripthi somzimba wakho sokongeza umnxeba kuGoogle Analytics (qiniseka ukubuyisela i-UA-XXXXX-Y ngesazisi seakhawunti yakho:

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

Uyenza njani ngokulula iGoogle Analytics ngeWordPress AMP

Indlela elula yokuphumeza uGoogle Analytics ngeWordPress AMP kukusebenzisa ezi plugins zintathu zilandelayo:

  1. I-WordPress AMP
  2. Yoast seo
  3. Glue ye-Yoast SEO kunye ne-AMP

Iglu ye-Yoast SEO kunye ne-AMP yeeplagi masikhe siguqule ukujonga kunye nokuziva kukhupha i-AMP kunye nokongeza i-Analytics code snippet (ngentla komzimba) ngqo kuseto lweplagi.

Glue Yoast SEO AMP Uhlalutyo

Ulivavanya njani iphepha lakho le-AMP

Nje ukuba uyisebenzise ngokupheleleyo i-AMP, qiniseka ukusebenzisa uvavanyo lukaGoogle lwe-AMP ukuqinisekisa ukuba awunayo imicimbi yefomathi.

Vavanya iphepha lam le-AMP

Iziphumo zakho zovavanyo kufuneka:

Ikhasi le-AMP elisemthethweni

Ingaba ucinga ntoni?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda indlela idatha yakho yokubhaliweyo isetyenziswe ngayo.