Su'e Mailto Kiliki I Google Analytics Mea na tutupu Fa'aaoga Google Tag Manager

Google Tag Manager Google Analytics Event mo le Su'eina o Numera Telefoni Kiliki i totonu o le Taula Tag

A o matou galulue fa'atasi ma tagata fa'atau i lipoti, e tatau ona matou fa'atuina se Google Tag Manager mo latou. Google Tag Manager e le naʻo se faʻavae e faʻapipiʻi ai tusitusiga uma a lau 'upega tafaʻilagi, ae ose meafaigaluega malosi e faʻavasega ai le mea ma le taimi e te manaʻo ai e faʻaosoina gaioiga i totonu o lau' upega tafaʻilagi e faʻaaoga ai soʻo se tusitusiga na e faʻapipiʻiina.

Tuuina atu o se imeli mataʻituina fafo i luga o lau 'upega tafaʻilagi o se auala sili lea e faʻafaigofie ai mo se tagata asiasi ona tuʻuina lau au faʻatau se imeli. O foliga ia o le tag taula HTML:

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

Google Analytics Events ofo atu le avanoa e fua ai mea na tutupu i totonu o se saite. O mea e tutupu e tatau mo le fuaina o fegalegaleaiga e pei o le kilikiina o valaau e fai, amata ma taofi vitio, ma isi fegalegaleaiga i totonu o se upega tafaʻilagi e le faʻaogaina le tagata faʻaoga mai le tasi itulau i le isi. O le auala sili lea e fua ai lenei ituaiga o fegalegaleaiga. Ina ia faia, e mafai ona matou suia le faʻailoga o loʻo i luga ma faʻaopoopo se JavaScript onClick mea na tupu e faʻapipiʻi ai le mea na tupu:

<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>

Matau e matou te fiafia foi i le itulau na kiliki ai le tuatusi imeli. E aoga tele le va'ai po'o fea itulau o lo'o fa'aosoina le tele o feso'ota'iga e ala ile imeli.

E i ai nai luitau i lenei mea. Muamua, atonu e te le maua le avanoa e faʻaopoopo ai le onclick code i totonu o fanua o lau 'upega tafaʻilagi faʻatonuga o mea e fai (CMS). Lona lua, o le syntax e tatau ona saʻo ina ia tele avanoa e maua ai le sese. Tolu, e tatau ona e faia i soo se mea e iai sau tuatusi imeli o loʻo lisiina i luga o lau 'upega tafaʻilagi.

Su'esu'eina o mea na tutupu I Google Tag Manager

O le fofo o le faʻaaogaina o tomai faʻapitoa o Google Tag Manager. O le a lava le umi e fa'atino ai le Google Tag Manager i lau 'upega tafa'ilagi, e le tatau lava ona e pa'i i lau anotusi po'o lau fa'ailoga e fa'atino ai su'esu'ega fa'apenei. O laasaga e fai ai e faapea:

  • Fa'amalo – Seti se fa'aoso e fa'atino pe a kiliki e se tagata asiasi i luga o le imeli (mailto) so'oga.
  • pine - Seti se mea e tupu e fa'agasolo i taimi uma e fa'atino ai le fa'aoso.

FAAMANATU: O le mea e manaʻomia muamua o lenei mea o loʻo iai sau Google Analytics Universal Analytics Tag faʻapipiʻi ma faʻaoga lelei i luga o lau saite.

Vaega 1: Set Up Your Click Trigger

  1. I totonu o lau Google Tag Manager Account, fa'asaga ile faaosofia i le itu agavale navigation ma kiliki fou
  2. Ta'u lau Fa'aoso. Sa matou valaau i matou Mailto Kiliki
  3. Kiliki i le Trigger Configuration vaega ma filifili le ituaiga fa'aoso Na'o Sooga

Google Tag Manager > Trigger > Na'o Kiliki

  1. Faʻatonu le Faatali mo Tag fa'atasi ai ma se taimi fa'atali maualuga e 2000 milliseconds
  2. mafai ai ona Siaki Fa'amaoniga
  3. Fa'aaga lenei fa'aoso pe a Itulau URL > fetaui ma RegEx > .*
  4. Fa'amumu lenei fa'aoso Nisi So'oga Kiliki
  5. Fa'amu lenei fa'aoso Kiliki URL > iai > meli:

Google Tag Manager Trigger Configuration meli i so'oga

  1. kiliki Sefe

Vaega 2: Seti Lau Fa'ailoga Fa'alavelave

  1. Faʻasaga i pine
  2. kiliki fou
  3. Ta'u lau Tag, na matou faaigoa le matou Mailto Kiliki
  4. filifili Google Analytics: Universal Analytics

Google Tag Manager > Fa'ailoga Fou > Google Analytics: Fa'asalalauga lautele

  1. Seti le Ituaiga Track i mea na Tutupu
  2. Tu'i i totonu le Vaega e pei o Email
  3. Kiliki le + faʻailoga i le Action ma filifili Kiliki URL
  4. Kiliki le + saini i luga o le igoa ma filifili Itulau Ala
  5. Tuu le Taua e Avanoa
  6. Tu'u le Le-Feagalegaleaga e Pese
  7. Ulufale i totonu Google Analytics Variable.
  8. Kiliki le Vaega Triggering ma filifili le Fa'amalo na e setiina i le Vaega 1.

Google Tag Manager - Google Analytics Event mo Mailto Kiliki

  1. kiliki Sefe
  2. Va'ai lau Tag, fa'afeso'ota'i lau 'upega tafa'ilagi, ma kiliki i luga o lau 'upega tafa'ilagi e va'ai ai ua fa'amu le pine. E mafai ona e kiliki i luga o le pine Email Kiliki ma vaʻai i faʻamatalaga na pasia.

google tag manager mailto mea na tutupu muamua

  1. A mae'a ona e fa'amaonia lau pine o lo'o fa'ao lelei, Lomiga le pine e tu'u ola ai i lau 'upega tafa'ilagi

Motugaafa: Google Analytics e le o siakia mea tutupu e masani lava i taimi moni mo lau 'upega tafaʻilagi o lea afai o loʻo e suʻeina le saite ma toe foʻi i totonu o lau auʻiliʻili faʻavae, atonu e te le matauina le mea na tupu o loʻo faamaumauina. Toe siaki i ni nai itula.

I le taimi nei, e tusa lava po o le a le itulau o lau saite, uma mailto sootaga o le a faamaumauina se mea na tupu i Google Analytics pe a kiliki e se tasi le fesoʻotaʻiga imeli! E mafai foi ona e setiina le mea na tupu e fai ma Sini ile Google Analytics.

Afai e te manaʻo e faʻatulaga lenei mea mo kiliki numera telefoni, ia mautinoa e faitau la matou tusiga muamua, Su'e Kiliki e Valaau So'otaga ile Google Analytics Events Fa'aaoga Google Tag Manager.