Cum urmărești click-uri pe telefon și buton de comandă în GTMHow to track phone and order button clicks with Google Tag Manager

Paul Gog·3 minute · actualizat 31 august 20263 min · updated August 31, 2026

Pentru cine are un site și vrea să știe câți oameni chiar apasă pe numărul de telefon sau pe butonul de comandă, nu doar câți intră pe pagină.For anyone with a website who wants to know how many people actually click the phone number or the order button, not just how many visit the page.

A smartphone displaying a shopping app screen placed on a wooden desk with natural light.

Ai un site, ai un buton mare de „Comandă” sau un număr de telefon afișat pe prima pagină, și nu ai idee câți oameni chiar apasă pe ele. Google Analytics îți arată câți oameni intră pe site, dar nu-ți spune ce fac acolo. Ca să vezi click-urile, ai nevoie de Google Tag Manager (GTM) — un instrument gratuit de la Google, care trimite semnale către Analytics fără să pui tu cod în site de fiecare dată.

Ce faci o singură dată: instalarea

Intri pe tagmanager.google.com, îți creezi un cont și un container pentru site-ul tău. GTM îți dă două bucăți de cod. Le pui în site o singură dată: una imediat după <head>, cealaltă imediat după <body>. Dacă ai WordPress, cel mai simplu e printr-un plugin care are un câmp special pentru codul GTM, ca să nu editezi fișierele temei de mână.

Cum urmărești click pe numărul de telefon

Un click pe telefon înseamnă, tehnic, un click pe un link care începe cu tel:. GTM are deja un declanșator pregătit pentru asta.

  1. Din meniul din stânga, apeși pe Triggers (Declanșatori), apoi pe New (Nou).
  2. Alegi tipul Just Links (Doar linkuri), din categoria Click.
  3. Bifezi Wait for Tags (Așteaptă etichetele) și Check Validation (Verifică validarea).
  4. La condiția de declanșare, alegi Click URL (URL de click) și pui „contains” (contine) urmat de tel:.
  5. Salvezi declanșatorul cu un nume clar, de exemplu „Click telefon”.

Apoi mergi la Tags (Etichete), creezi o etichetă nouă de tip Google Analytics: GA4 Event, îi dai numele evenimentului, de exemplu click_telefon, și o legi de declanșatorul creat mai sus.

Cum urmărești click pe butonul de comandă

Aici e puțin mai delicat, pentru că butonul de comandă nu are un tipar fix ca tel:. Ai nevoie fie de un ID pe buton (de exemplu id="buton-comanda"), fie de un text vizibil pe el, de exemplu „Trimite comanda”.

  1. Creezi un declanșator nou, tot de tip Click, dar alegi All Elements (Toate elementele), nu Just Links.
  2. La condiție, alegi Click ID și pui „equals” (este egal cu) urmat de ID-ul butonului tău. Dacă nu ai ID, folosești Click Text cu textul exact de pe buton.
  3. Salvezi și creezi o etichetă GA4 Event separată, cu numele click_comanda, legată de acest declanșator.

Ca să găsești ID-ul unui buton, dai click dreapta pe el în browser și alegi „Inspectează” (Inspect). În codul care apare, cauți id= chiar pe eticheta butonului.

Cum verifici că funcționează, înainte să publici

GTM are un mod de previzualizare — butonul Preview din colțul din dreapta sus. Îl apeși, introduci adresa site-ului, și se deschide site-ul într-o fereastră cu un panou lateral care arată, în timp real, ce declanșatoare s-au activat la fiecare click. Dai click pe telefon și pe butonul de comandă, chiar tu, și verifici că apar în listă cu numele pe care le-ai dat. Abia după ce vezi ambele evenimente apărând corect, apeși Submit (Trimite) și publici containerul.

Ce nu merită să faci

Nu instala GTM „ca să vezi ce iese” fără să configurezi și un declanșator anume. Un container gol nu-ți arată nimic în Analytics, doar ocupă loc. Și nu urmări zece butoane deodată de la început — pornește cu telefonul și comanda, verifică-le bine, apoi adaugi restul.

Întrebări frecvente

Am nevoie de un programator ca să fac asta?

Nu, pașii de mai sus se fac direct din interfața GTM, fără cod scris de tine. Ai nevoie de puțină atenție când cauți ID-ul butonului.

De ce nu văd click-urile în Google Analytics imediat?

Rapoartele standard din GA4 au o întârziere de câteva ore. Ca să vezi rezultatul pe loc, folosești raportul „Realtime” din Analytics.

Ce fac dacă butonul de comandă nu are ID?

Folosești condiția Click Text cu textul exact scris pe buton, la fel de valabilă ca ID-ul, doar puțin mai fragilă dacă schimbi textul mai târziu.

You have a website, a big „Order now” button or a phone number sitting right on the homepage, and no idea how many people actually click them. Google Analytics tells you how many people visit your site, not what they do once they're there. To see clicks, you need Google Tag Manager (GTM) — a free tool from Google that sends signals to Analytics without you writing code into the site every time.

What you do once: installation

Go to tagmanager.google.com, create an account and a container for your site. GTM gives you two snippets of code. You paste them into your site once: one right after <head>, the other right after <body>. If you run WordPress, the easiest way is through a plugin with a dedicated field for the GTM code, so you don't have to edit theme files by hand.

Tracking clicks on the phone number

A click on a phone number is, technically, a click on a link starting with tel:. GTM already has a trigger built for exactly this.

  1. In the left menu, click Triggers, then New.
  2. Choose the Just Links type, under the Click category.
  3. Check Wait for Tags and Check Validation.
  4. For the firing condition, choose Click URL and set it to „contains” followed by tel:.
  5. Save the trigger with a clear name, like „Phone click”.

Then go to Tags, create a new tag of type Google Analytics: GA4 Event, name the event, for example phone_click, and link it to the trigger you just built.

Tracking clicks on the order button

This part is a bit trickier, because an order button doesn't follow a fixed pattern like tel: does. You need either an ID on the button, for example id="order-button", or a visible text on it, like „Place order”.

  1. Create a new trigger, also of type Click, but choose All Elements, not Just Links.
  2. For the condition, choose Click ID and set it to „equals” followed by your button's ID. If there's no ID, use Click Text with the exact text on the button.
  3. Save it and create a separate GA4 Event tag, named order_click, linked to this trigger.

To find a button's ID, right-click it in your browser and choose „Inspect”. In the code that shows up, look for id= right on the button's tag.

How to check it works before you publish

GTM has a preview mode — the Preview button in the top right corner. Click it, enter your site's address, and the site opens in a window with a side panel showing, in real time, which triggers fired on each click. Click the phone number and the order button yourself, and check they show up in the list under the names you gave them. Only after you see both events firing correctly should you click Submit and publish the container.

What's not worth doing

Don't install GTM „just to see what happens” without setting up at least one specific trigger. An empty container shows nothing in Analytics, it just sits there. And don't try to track ten buttons at once from day one — start with the phone and the order button, check them carefully, then add the rest.

Frequently asked

Do I need a developer for this?

No, the steps above happen directly in the GTM interface, with no code you write yourself. You just need a bit of care when finding the button's ID.

Why don't I see the clicks in Google Analytics right away?

Standard GA4 reports have a delay of a few hours. To see results instantly, check the Realtime report inside Analytics.

What if my order button doesn't have an ID?

You use the Click Text condition with the exact wording on the button, just as valid as an ID, only a bit more fragile if you change the wording later.

Google Tag ManagerGoogle Analyticsurmarire clickuriautomatizare siteconversii

Mai departeRead next