Tevera Mailto Clicks MuGoogle Analytics Zviitiko Uchishandisa Google Tag Maneja

Google Tag Maneja Google Analytics Chiitiko cheKutsvaga Nhamba Yefoni Kudzvanya muAnchor Tag

Sezvo isu tichishanda nevatengi pakurevera, chinhu chakakosha kuti isu tivagadzirire Google Tag Manager account yavo. Google Tag Maneja haingori chikuva chekurodha zvese zvinyorwa zvewebhusaiti yako, zvakare chishandiso chakasimba chekugadzirisa kupi uye paunoda kukonzeresa zviito mukati mesaiti yako uchishandisa chero zvinyorwa zvawakasanganisira.

Kupa email inotariswa kunze pane yako saiti inzira huru yekuita kuti zvive nyore kune muenzi kudonhedza timu yako yekutengesa email. Hezvino izvo iyo HTML anchor tag inotaridzika sei:

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

Zviitiko zveGoogle Analytics zvinopa mukana wekuyera zviitiko mukati mesaiti. Zviitiko zvinofanirwa kuyera kudyidzana sekudzvanya mafoni kuita chiito, kutanga nekumisa mavhidhiyo, uye kumwe kupindirana mukati mesaiti iyo isingafambisi mushandisi kubva kune rimwe peji kuenda kune rimwe. Ndiyo nzira yakakwana yekuyera rudzi urwu rwekudyidzana. Kuita kudaro, tinogona kugadzirisa kodhi iri pamusoro uye kuwedzera JavaScript onClick chiitiko kuti uwedzere chiitiko:

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

Ziva kuti tirikudawo peji rakadzvanywa email kero. Izvi zvinobatsira kuona kuti ndeapi mapeji ari kutyaira zvakanyanya kuburikidza neemail.

Pane matambudziko mashoma neizvi. Kutanga, iwe unogona kunge usingakwanise kuwedzera iyo onclick kodhi mukati meminda yesaiti yako yemukati manejimendi system (CMS) Chechipiri, iyo syntax inofanirwa kuve yakarurama saka kune mikana yakawanda yekuikanganisa. Chechitatu, iwe uchafanirwa kuzviita kwese kwaunenge uine email kero yakanyorwa pane yako saiti.

Kutsvaga Chiitiko MuGoogle Tag Maneja

Mhinduro ndeyekushandisa hunyanzvi hwepamusoro hwe Google Tag Manager. Chero bedzi Google Tag Maneja ichiitwa pane yako saiti, haufanirwe kubata zvirimo kana kodhi kuti utumire chiitiko chekutevera seizvi. Matanho ekuita izvi ndeaya:

  • Trigger -Gadzirisa chinokonzeresa chinoitwa kana mushanyi wesaiti achidzvanya pane email (mailto) link.
  • Tag -Gadzirisa chiitiko cheki chinogadziriswa pese pese panoitwa chinokonzeresa.

CHERECHEDZA: Chekutanga-chinodiwa cheizvi ndechekuti iwe watove neGoogle Analytics Universal Analytics Tag yakamisikidzwa uye kupfura nemazvo pasaiti yako.

Chikamu 1: Gadzira Yako Click Trigger

  1. Mukati meGoogle Tag Manager Account yako, enda ku zvinokonzera kuruboshwe rwokufambisa wobva wadzvanya New
  2. Doma Trigger yako. Takadana zvedu Mailto Click
  3. Dzvanya muchikamu cheTrigger Configuration uye sarudza rudzi rwekukonzeresa Just Links

Google Tag Manager> Trigger> Just Clicks

  1. Gonesa Mirira ma Tags ine default max yekumirira nguva ye2000 milliseconds
  2. Bvumira Check Validation
  3. Bvisa iyi trigger kana a Peji URL > inofanana neRegEx > .*
  4. Gadzirisa iyi yekukonzeresa moto Vamwe Link Clicks
  5. Pisa iyi trigger pa Dzvanya URL > ine > mailto:

Google Tag Manager Trigger Configuration mailto links

  1. Click Save

Chikamu 2: Gadzirisa Chiitiko chako Tag

  1. Enda kune Tags
  2. Click New
  3. Doma Tag yako, isu takatumidza yedu Mailto Click
  4. sarudza Google Analytics: Universal Analytics

Google Tag Maneja> New Tag> Google Analytics: Universal Analytics

  1. Gadzirisa Rudzi rweTrack kuti chiitiko
  2. Nyora muChikamu se enamel
  3. Dzvanya iyo + saina pane Chiito uye sarudza Dzvanya URL
  4. Dzvanya iyo + saina paLabel uye sarudza Peji Nzira
  5. Siya Kukosha Pasina chinhu
  6. Siya Zvisiri-Kupindirana Wakarova seNhema
  7. Pindai zvenyu Google Analytics Variable.
  8. Dzvanya iyo Inosimudzira Chikamu uye sarudza iyo Trigger wakaisa muChikamu 1.

Google Tag Maneja - Google Analytics Chiitiko cheMailto Click

  1. Click Save
  2. Tarisa Tag yako, batanidza saiti yako, uye tinya pane yako saiti kuti uone kuti tag yadzingwa. Unogona kudzvanya pane tag Email Click uye ona zvinyorwa zvakapfuura.

google tag maneja mailto chiitiko chekutarisa

  1. Mushure mekuona kuti tag yako iri kupfura nemazvo, Publish iyo tag kuti uiise ichirarama pane yako saiti

Zano: Google Analytics haiteveri zviitiko kazhinji munguva chaiyo yesaiti yako saka kana iwe uri kuyedza saiti uye uchidzokera kupuratifomu yako yekuongorora, unogona kusaona chiitiko chichirekodhwa. Tarisa zvakare mumaawa mashoma.

Zvino, zvisinei nepeji resaiti yako, zvese mailto link icharekodha chiitiko muGoogle Analytics kana mumwe munhu akadzvanya iyo email link! Iwe unogona zvakare kuseta icho chiitiko kumusoro seChinangwa muGoogle Analytics.

Kana iwe uchida kuseta iyi yekudzvanya nhamba dzenhare, ita shuwa kuverenga yedu yapfuura chinyorwa, Tevera Dzvanya kuti Ufone Manongedzo muGoogle Analytics Zviitiko Uchishandisa Google Tag Maneja.