Taug qab Mailto Nyem Hauv Google Analytics Txheej Txheem Siv Google Tag Manager

Google Tag Manager Google Analytics Event rau Taug qab Tus Xov Tooj Nyem rau hauv Anchor Tag

Raws li peb ua haujlwm nrog cov neeg siv khoom tshaj tawm, nws yog qhov tsim nyog uas peb teeb tsa Google Tag Manager account rau lawv. Google Tag Manager tsis yog lub platform los thauj tag nrho koj lub vev xaib cov ntawv sau, nws tseem yog lub cuab yeej muaj zog los kho qhov twg thiab thaum twg koj xav ua kom ua haujlwm hauv koj lub xaib siv cov ntawv sau uas koj tau suav nrog.

Muab ib qho email saib xyuas sab nraud ntawm koj lub xaib yog txoj hauv kev zoo los ua kom yooj yim rau tus qhua kom tso koj pab pawg muag email. Nov yog qhov HTML thauj tog rau nkoj tag zoo li:

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

Google Analytics Txheej xwm muab lub sijhawm los ntsuas txheej xwm hauv ib qhov chaw. Cov xwm txheej yog qhov yuav tsum tau ntsuas kev sib cuam tshuam xws li nyem hu mus rau qhov ua, pib thiab nres cov yeeb yaj kiab, thiab lwm yam kev sib cuam tshuam hauv ib qhov chaw uas tsis txav cov neeg siv ntawm ib nplooj ntawv mus rau lwm qhov. Nws yog lub zoo meej txhais tau tias ntsuas hom kev sib cuam tshuam. Txhawm rau ua li ntawd, peb tuaj yeem hloov kho cov cai saum toj no thiab ntxiv JavaScript onClick kev tshwm sim los ntxiv qhov kev tshwm sim:

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

Daim ntawv ceeb toom tias peb kuj txaus siab rau nplooj ntawv uas email chaw nyob tau nyem los ntawm. Qhov ntawd yog qhov pab tau kom pom cov nplooj ntawv twg tau tsav kev koom tes tshaj plaws ntawm email.

Muaj ob peb qhov kev sib tw nrog qhov no. Ua ntej, koj yuav tsis muaj kev nkag mus ntxiv rau onclick code nyob rau hauv lub teb ntawm koj qhov chaw cov ntsiab lus tswj system (CMS). Qhov thib ob, cov syntax yuav tsum muaj tseeb yog li muaj ntau lub cib fim kom nws tsis raug. Thib peb, koj yuav tsum ua nws txhua qhov chaw koj muaj email chaw nyob hauv koj lub xaib.

Cov xwm txheej taug qab hauv Google Tag Manager

Txoj kev daws teeb meem yog siv cov peev txheej siab heev ntawm Google Tuav Manager. Ntev npaum li Google Tag Manager tau siv rau hauv koj qhov chaw, koj tsis tas yuav kov koj cov ntsiab lus lossis cov lej los siv cov xwm txheej taug qab zoo li qhov no. Cov kauj ruam ua li no yog raws li nram no:

  • Txhais - Teeb tsa qhov tshwm sim uas raug tua thaum tus neeg tuaj saib lub vev xaib nyem rau ntawm email (mailto) txuas.
  • lossis - Teeb tsa ib qho kev tshwm sim uas tau ua tiav txhua lub sijhawm ua tiav.

CEEB TOOM: Qhov yuav tsum tau ua ua ntej ntawm qhov no yog tias koj twb muaj Google Analytics Universal Analytics Tag teeb tsa thiab raug rho tawm haujlwm ntawm koj lub xaib.

Part 1: Teem Koj Nyem Ua

  1. Hauv koj Google Tag Manager Account, mus rau chiv nyob rau sab laug navigation thiab nias Tshiab
  2. Sau npe koj tus Trigger. Peb hu peb li Mailto Nyem
  3. Nyem rau ntawm qhov Trigger Configuration seem thiab xaiv qhov ua hom Tsuas yog Links

Google Tag Manager> Trigger> Tsuas yog nyem

  1. Pab tus Tos rau Tag nrog lub neej ntawd max tos lub sijhawm ntawm 2000 milliseconds
  2. pab kom Tshawb xyuas Validation
  3. Pab kom qhov no tshwm sim thaum a Nplooj URL > phim RegEx > .*
  4. Teem qhov hluav taws kub no rau Qee qhov Link Clicks
  5. Fais fab no rau Nyem URL> muaj> mailto:

Google Tag Manager Trigger Configuration mailto links

  1. Nyem Txuag

Ntu 2: Teem Koj Cov Txheej Txheem Tag Nrho

  1. Mus rau Tags
  2. Nyem Tshiab
  3. Sau npe koj lub npe, peb npe rau peb Mailto Nyem
  4. xaiv Google Analytics: Universal Analytics

Google Tag Manager > New Tag > Google Analytics: Universal Analytics

  1. Teem hom Track rau Cov kev tshwm sim
  2. Ntaus hauv qeb li Email
  3. Nyem qhov + kos npe rau ntawm Kev Ua Haujlwm thiab xaiv Nyem qhov URL
  4. Nyem qhov + kos npe rau ntawm Label thiab xaiv Nplooj Txoj Kev
  5. Cia Tus Nqi Dawb
  6. Tawm Tsis-Kev Sib Tham Ntaus Ua Tsis Yog
  7. Sau koj Google Analytics Variable.
  8. Nyem qhov Triggering Section thiab xaiv qhov Txhais koj teem rau part 1.

Google Tag Manager - Google Analytics Event rau Mailto Nyem

  1. Nyem Txuag
  2. Saib ua ntej koj Tag, txuas koj lub xaib, thiab nyem rau ntawm koj lub xaib kom pom tias lub cim raug rho tawm haujlwm. Koj tuaj yeem nyem rau ntawm lub cim npe Email Nyem thiab saib cov ntsiab lus uas tau dhau los.

google tag manager mailto event preview

  1. Tom qab koj paub tseeb tias koj daim ntawv teev npe raug tua, luam tawm tag los muab tso rau hauv koj qhov chaw

Tswv yim: Google Analytics tsis taug qab cov xwm txheej feem ntau hauv lub sijhawm tiag tiag rau koj lub xaib yog li yog tias koj tab tom sim lub xaib thiab rov qab mus rau hauv koj lub vev xaib kev tshuaj ntsuam xyuas, koj yuav tsis pom qhov xwm txheej raug kaw. Rov qab mus rau ob peb teev.

Tam sim no, tsis hais nplooj ntawv ntawm koj qhov chaw, txhua mailto link yuav sau ib qho xwm txheej hauv Google Analytics thaum ib tus neeg nyem qhov email txuas! Koj tuaj yeem teeb tsa qhov xwm txheej ntawd ua Lub Hom Phiaj hauv Google Analytics.

Yog tias koj xav teeb tsa qhov no rau tus lej xov tooj, nco ntsoov nyeem peb tsab xov xwm dhau los, Taug qab Nyem rau Hu Cov Txuas hauv Google Analytics Txheej Txheem Siv Google Tag Manager.