Taug qab Nyem Hu rau Txuas 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.

Nws yog ib qho uas ntau tshaj ib nrab ntawm tag nrho koj lub xaib cov neeg tuaj xyuas tuaj txog ntawm koj qhov chaw ntawm lub browser mobile. Hyperlinking koj tus xov tooj ntawm koj qhov chaw yog ib txoj hauv kev zoo los ua kom yooj yim rau cov neeg tuaj saib kom muab koj pab neeg muag khoom hu. Peb xyuas kom meej tias peb hyperlink txhua tus xov tooj thoob plaws tag nrho peb cov neeg siv khoom qhov chaw vim li no. Nov yog qhov HTML thauj tog rau nkoj tag zoo li:

<a href="tel:13172039800">317.203.9800</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="tel:13172039800" onclick="gtag('event', 'click', { event_category: 'Phone Number Link', event_action: 'Click to Call', event_label:'317.203.9800'})">317.203.9800</a>

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 tus lej xov tooj ntawm koj qhov chaw.

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 lub xov tooj 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 Xov tooj Nyem
  3. Nyem rau ntawm qhov Trigger Configuration seem thiab xaiv qhov ua hom Tsuas yog Links

Google Tag Manager> Tig Configuration> Tsuas yog Txuas

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

google tag manager ua rau configuration cia li txuas tel

  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 Tel Click
  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 Xov tooj
  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 tag xov tooj click

  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 Tel Click thiab saib cov ntsiab lus uas tau dhau los.

google tag manager saib ua ntej

  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 nyem-los-hu txuas yuav sau ib qho kev tshwm sim hauv Google Analytics thaum ib tus neeg nyem lub xov tooj txuas! Koj tuaj yeem teeb tsa qhov xwm txheej ntawd ua Lub Hom Phiaj hauv Google Analytics. Yog tias koj tseem xav ua qhov no nrog mailto txuas, peb tau sau ib tsab xov xwm, Taug qab Mailto Nyem Hauv Google Analytics Txheej Txheem Siv Google Tag Manager