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.
- Din meniul din stânga, apeși pe Triggers (Declanșatori), apoi pe New (Nou).
- Alegi tipul Just Links (Doar linkuri), din categoria Click.
- Bifezi Wait for Tags (Așteaptă etichetele) și Check Validation (Verifică validarea).
- La condiția de declanșare, alegi Click URL (URL de click) și pui „contains” (contine) urmat de
tel:. - 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”.
- Creezi un declanșator nou, tot de tip Click, dar alegi All Elements (Toate elementele), nu Just Links.
- 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.
- 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.
- In the left menu, click Triggers, then New.
- Choose the Just Links type, under the Click category.
- Check Wait for Tags and Check Validation.
- For the firing condition, choose Click URL and set it to „contains” followed by
tel:. - 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”.
- Create a new trigger, also of type Click, but choose All Elements, not Just Links.
- 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.
- 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.


