Tsatani Dinani Kuti Muyimbire Maulalo mu Zochitika za Google Analytics Pogwiritsa Ntchito Google Tag Manager

Chochitika cha Google Tag Manager pa Google Analytics pakutsata Nambala Yafoni Kudina mu Tag ya Nangula

Pamene tikugwira ntchito ndi makasitomala popereka malipoti, ndikofunikira kuti tiwakhazikitse akaunti ya Google Tag Manager. Google Tag Manager si nsanja yokhayo yosinthira zolemba zanu zonse, komanso ndi chida champhamvu chosinthira makonda ndi nthawi yomwe mukufuna kuyambitsa zochitika patsamba lanu pogwiritsa ntchito zolemba zilizonse zomwe mudaphatikiza.

Ndizodziwika kuti opitilira theka la alendo omwe abwera patsamba lanu akufika patsamba lanu kudzera pa msakatuli wam'manja. Hyperlinking manambala anu a foni patsamba lanu ndi njira yabwino yopangira kukhala kosavuta kuti mlendo apereke foni kwa gulu lanu lazamalonda. Timaonetsetsa kuti tikulumikiza nambala yafoni iliyonse pamasamba onse amakasitomala athu pazifukwa izi. Izi ndi zomwe tag ya nangula ya HTML imawoneka:

<a href="tel:13172039800">317.203.9800</a>

Zochitika za Google Analytics zimapereka mwayi woyezera zochitika mkati mwa tsamba. Zochitika ndizofunikira pakuyezera kuyanjana monga kudina kuyitanira kuchitapo kanthu, kuyambitsa ndi kuyimitsa makanema, ndi zina zomwe zimachitika patsamba lomwe silisuntha wogwiritsa ntchito patsamba lina kupita ku lina. Ndi njira yabwino yoyezera kuyanjana kwamtunduwu. Kuti tichite izi, titha kusintha nambala yomwe ili pamwambapa ndikuwonjezera chochitika cha JavaScript onClick kuti muwonjezere chochitikacho:

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

Pali zovuta zingapo ndi izi. Choyamba, mwina simungakhale ndi mwayi wowonjezera nambala ya onclick m'magawo a kasamalidwe kazinthu patsamba lanu (CMS). Chachiwiri, mawu omasulira ayenera kukhala olondola kotero kuti pali mipata yambiri yolakwika. Chachitatu, muyenera kutero kulikonse komwe muli ndi nambala yafoni patsamba lanu.

Kutsata Zochitika Mu Google Tag Manager

Yankho lake ndikugwiritsa ntchito luso lapamwamba la Google Tag Manager. Malingana ngati Google Tag Manager ikugwiritsidwa ntchito patsamba lanu, simuyenera kukhudza zomwe muli nazo kapena ma code kuti mugwiritse ntchito mayendedwe otere. Njira zochitira izi ndi izi:

  • Sakanizani - Khazikitsani choyambitsa chomwe chimachitidwa mlendo watsamba akadina ulalo wa foni.
  • Tag - Khazikitsani chizindikiro cha chochitika chomwe chimakonzedwa nthawi iliyonse choyambitsacho chikuchitidwa.

ZINDIKIRANI: Chofunikira pa izi ndikuti muli kale ndi Google Analytics Universal Analytics Tag yokhazikitsidwa ndikuwombera bwino patsamba lanu.

Gawo 1: Khazikitsani Dinani Choyambitsa Chanu

  1. Muakaunti yanu ya Google Tag Manager, pitani ku akapsa kumanzere navigation ndikudina yatsopano
  2. Tchulani Trigger yanu. Tinayitana athu Nambala Yafoni Dinani
  3. Dinani mu gawo la Trigger Configuration ndikusankha mtundu woyambitsa Ma Link okha

Google Tag Manager> Yambitsani Kusintha> Maulalo Okha

  1. Thandizani Dikirani ma Tags yokhala ndi nthawi yodikirira yopitilira 2000 milliseconds
  2. Thandizani Onani Kutsimikizika
  3. Yambitsani choyambitsa ichi pamene a Ulalo watsamba > wofanana ndi RegEx > .*
  4. Yatsani choyambitsa moto ichi Ena Kudina Kwamaulalo
  5. Yatsani choyambitsa ichi Dinani URL > ili > tel:

google tag manejala woyambitsa kasinthidwe amangolumikiza tel

  1. Dinani Save

Gawo 2: Konzani Tag Yanu Yachiwonetsero

  1. Yendetsani ku Tags
  2. Dinani yatsopano
  3. Tchulani Tag yanu, tatchula yathu Tel Dinani
  4. Sankhani Google Analytics: Universal Analytics

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

  1. Khazikitsani Mtundu wa Track kuti chochitika
  2. Lembani mu Gulu ngati telefoni
  3. Dinani + chizindikiro pa Action ndikusankha Dinani ulalo
  4. Dinani chizindikiro + pa Label ndikusankha Njira ya Tsamba
  5. Siyani Mtengo Wopanda Chopanda kanthu
  6. Siyani Zosagwirizana ndi Zosagwirizana Ndizonama
  7. Lowani Zosintha za Google Analytics.
  8. Dinani Kuyambitsa Gawo ndikusankha Sakanizani mudapanga part 1.

google tag manager tag telefoni dinani

  1. Dinani Save
  2. Onani Tag yanu, gwirizanitsani tsamba lanu, ndikudina patsamba lanu kuti muwone kuti tag yachotsedwa. Mutha kudina pa tag Tel Dinani ndikuwona zambiri zomwe zidaperekedwa.

google tag manager preview

  1. Mukatsimikizira kuti tag yanu ikuwombera bwino, kufalitsa tag kuti muyike pompopompo patsamba lanu

Langizo: Google Analytics satsata zomwe zikuchitika munthawi yeniyeni patsamba lanu kotero ngati mukuyesa tsambalo ndikubwerera ku nsanja yanu yowunikira, mwina simukuwona zomwe zikujambulidwa. Yang'ananinso m'maola ochepa.

Tsopano, mosasamala kanthu za tsamba latsamba lanu, lililonse dinani-kuyimba ulalo udzajambulitsa chochitika mu Google Analytics wina akadina ulalo wafoni! Mutha kukhazikitsanso chochitikacho ngati Cholinga mu Google Analytics. Ngati mungafunenso kuchita izi ndi maulalo a mailto, talemba nkhani, Tsatani Mailto Clicks Mu Zochitika za Google Analytics Pogwiritsa Ntchito Google Tag Manager