Khangela ukucofa kweMailto kwiziganeko zoHlalutyo lukaGoogle usebenzisa uMphathi weTag kaGoogle

Umphathi weThegi kaGoogle uMnyhadala woHlalutyo lukaGoogle wokuKhangela iNombolo yeFowuni Ukucofa kwiTag yeAnchor

Njengoko sisebenza nabathengi ekunikezeni ingxelo, kuyimfuneko ukuba sibamisele iakhawunti yoMphathi weThegi kaGoogle. Umphathi weThegi kaGoogle ayiloqonga nje lokulayisha zonke izikripthi zewebhusayithi yakho, ikwasisixhobo esomeleleyo sokwenza ngokwezifiso apho kwaye nini unqwenela ukwenza izenzo ngaphakathi kwendawo yakho usebenzisa naziphi na izikripthi ozifakile.

Ukubonelela nge-imeyile ebekwe esweni ngaphandle kwindawo yakho yindlela enhle yokwenza kube lula ukuba undwendwe lulahle iqela lakho lokuthengisa i-imeyile. Nantsi into ejongeka njani le thegi ye-ankile ye-HTML:

<a href="mailto:info@highbridgeconsultants.com">info@highbridgeconsultants.com</a>

Iziganeko zeGoogle Analytics zinika ithuba lokulinganisa iziganeko kwisiza. Imisitho iyimfuneko kunxibelelwano lokulinganisa njengokucofa iminxeba kwisenzo, ukuqala kunye nokumisa iividiyo, kunye nolunye unxibelelwano ngaphakathi kwesiza olungasusiyo umsebenzisi ukusuka kwelinye iphepha ukuya kwelinye. Yeyona ndlela igqibeleleyo yokulinganisa olu hlobo lonxibelelwano. Ukwenza njalo, sinokuyiguqula le khowudi ingentla kwaye songeze iJavaScript onClick isiganeko ukudibanisa umcimbi:

<a href="mailto:info@highbridgeconsultants.com" onclick="gtag('event', 'click', { event_category: 'Mailto Link', event_action: 'Email Click', event_label:'https://highbridgeconsultants.com/contact/'})">info@highbridgeconsultants.com</a>

Qaphela ukuba sikwanomdla kwiphepha idilesi ye-imeyile ecofe kulo. Oko kuluncedo ukubona ukuba ngawaphi amaphepha aqhuba eyona ndibano nge-imeyile.

Kukho imingeni embalwa nale. Okokuqala, awukwazi ukufikelela ukongeza ikhowudi yokucofa ngaphakathi kwemimandla yenkqubo yolawulo lomxholo wendawo yakho (CMS). Okwesibini, i-syntax kufuneka ichanekile ngoko kukho amathuba amaninzi okuba iphosakele. Okwesithathu, kuya kufuneka uyenzile yonke indawo apho unedilesi ye-imeyile edweliswe kwindawo yakho.

Ukulandelela uMnyhadala kuMphathi weThegi kaGoogle

Isisombululo kukusebenzisa ubuchule obuphambili be Umphathi weTekisi yeGoogle. Logama nje uMphathi weTag kaGoogle ephunyeziwe kwindawo yakho, awusoze uchukumise umxholo wakho okanye ikhowudi yokubeka umkhondo womsitho ngolu hlobo. Amanyathelo okwenza oko ngala alandelayo:

  • Trigger - Misela i-trigger eyenziwa xa undwendwe lwesayithi lucofa kwikhonkco ye-imeyile (mailto).
  • tag - Cwangcisa ithegi yesiganeko eqhutyelwa rhoqo xa i-trigger isenziwa.

QAPHELA: Imfuno yangaphambili yoku kukuba sele unayo iTag ye-Google Analytics Universal Analytics Tag esekwe kwaye udubule ngokufanelekileyo kwindawo yakho.

Icandelo 1: Cwangcisa Cofa yakho Trigger

  1. Ngaphakathi kweAkhawunti yakho yoMphathi weThegi kaGoogle, yiya ku Abacebisi kwi navigation ekhohlo kwaye ucofe New
  2. Xela uMqalisi wakho. Safowunela eyethu Mailto Cofa
  3. Nqakraza kwindawo yokuQalisa uqwalaselo kwaye ukhethe uhlobo lokuqalisa Iikhonkco nje

Umphathi weTag kaGoogle> Qalisa> Cofa nje

  1. Nika amandla Lindela iithegi ixesha lokulinda elilelona liphezulu le-2000 millisecond
  2. Yenza Jonga uQinisekiso
  3. Yenza le ntshukumo xa a Ikhasi le-URL > imatshisi yeRegEx > .*
  4. Seta le mililo yokuqalisa Okunye Ukucofa ikhonkco
  5. Sivulele esi siqhumiso Cofa i-URL> iqulethe > mailto:

Umphathi weThegi kaGoogle Qhuba uLungiselelo lwe-mailto links

  1. nqakraza Gcina

Icandelo 2: Cwangcisa iThegi yakho yoMnyhadala

  1. Jonga ku tags
  2. nqakraza New
  3. Xela iTag yakho, siyithiye eyethu Mailto Cofa
  4. khetha Uhlalutyo lukaGoogle: Uhlalutyo lweHlabathi

Umphathi weThegi kaGoogle> IThegi eNtsha> Uhlahlelo lukaGoogle: Uhlalutyo oluqhelekileyo

  1. Cwangcisa Uhlobo lweTrack ukuya umcimbi
  2. Chwetheza kwiCandelo njenge Imeyli
  3. Cofa i + sayina kwi-Action kwaye ukhethe Cofa i-URL
  4. Cofa i + sayina kwiLeyibhile kwaye ukhethe Indlela Yephepha
  5. Shiya iXabiso lingenanto
  6. Shiya UkungaNxibelelanisi Ubethe njengoBubuxoki
  7. Faka yakho Uhlalutyo lukaGoogle oluguquguqukayo.
  8. Cofa iCandelo Lokuqalisa kwaye ukhethe i Trigger umise kwiCandelo loku-1.

Umphathi weTag kaGoogle-Isiganeko sikaGoogle soHlalutyiso lweMailto Cofa

  1. nqakraza Gcina
  2. Jonga kuqala iTag yakho, qhagamshela indawo yakho, kwaye ucofe kwindawo yakho ukujonga ukuba ithegi igxothiwe. Ungacofa kwithegi Cofa i-imeyile kwaye ubone iinkcukacha ezigqithisiweyo.

Umphathi wethegi kagoogle mailto ukujonga isiganeko

  1. Emva kokuba uqinisekise ukuba ithegi yakho idubula ngokufanelekileyo, Shicilela ithegi yokuyibeka bukhoma kwindawo yakho

Ingcebiso: Uhlalutyo lukaGoogle alulandeleli iziganeko ngokwexesha lokwenyani lendawo yakho ke ukuba uvavanya indawo kwaye ubuyela kwiqonga lakho lohlalutyo, awunowubona umcimbi urekhodwa. Phinda ujonge kwiiyure ezimbalwa.

Ngoku, nokuba leliphi iphepha lendawo yakho, yonke ikhonkco le-mailto iya kurekhoda isiganeko kwi-Google Analytics xa umntu ecofa ikhonkco le-imeyile! Unokuseta kwakhona eso siganeko njengeNjongo kwi-Google Analytics.

Ukuba ungathanda ukuseta oku kucofa inombolo yefowuni, qiniseka ukufunda inqaku lethu langaphambili, Cofa umkhondo ukuze ufowunele uQhagamshelwano kwiziganeko zoHlalutyo lukaGoogle usebenzisa uMphathi weTag kaGoogle.