Cum pui Pixelul Meta și evenimentul Contact pe WordPressHow to install the Meta Pixel and Contact event on WordPress

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

Pentru cine are un site pe WordPress și dă bani pe reclame Facebook sau Instagram fără să știe cine a chemat de pe site. Pașii exacți ca să vezi în Ads Manager câți oameni au completat formularul de contact.For anyone running a WordPress site and paying for Facebook or Instagram ads without knowing who actually reached out. The exact steps to see form submissions in Ads Manager.

A tablet displaying popular apps like Facebook and Instagram in a dimly lit setting.

Dai bani pe reclame pe Facebook și Instagram, oamenii intră pe site, dar tu nu știi câți au completat formularul de contact. Ads Manager îți arată clicuri, nu rezultate. Ca să vezi rezultate reale, ai nevoie de două lucruri instalate pe site: Pixelul Meta și evenimentul Contact.

Ce este Pixelul Meta și de ce nu merge fără el

Pixelul Meta e o bucată de cod pe care Facebook o pune pe site-ul tău ca să vadă ce fac vizitatorii care au venit dintr-o reclamă. Fără el, Facebook știe doar câți au dat clic pe anunț — nu știe ce s-a întâmplat după aceea pe site.

Cu Pixelul instalat, poți spune sistemului: „arată-mi reclama la oameni ca cei care mi-au scris deja” sau „nu mai arăta reclama celor care au completat deja formularul”. Fără el, reclamele merg la orb.

Instalarea Pixelului pe WordPress

Nu editezi codul temei direct — la prima actualizare a temei pierzi tot ce ai scris. Cel mai simplu e cu un plugin care îți lasă un câmp unde lipești codul, pe toate paginile.

  1. Intri în Meta Events Manager (Manager evenimente), din contul tău de Ads Manager, și creezi un pixel nou dacă nu ai deja unul.
  2. Copiezi codul Pixelului de bază — cel pe care Facebook îl arată pe ecran, cu un buton „Copy code” (Copiază codul).
  3. Instalezi în WordPress un plugin pentru cod în header, de exemplu „Insert Headers and Footers”, din Plugins (Module) → Add New (Adaugă nou).
  4. Lipești codul Pixelului în câmpul pentru header și apeși Save (Salvează).
  5. Verifici cu extensia de browser „Meta Pixel Helper” — dacă Pixelul e activ, apare un cerculeț verde cu un număr lângă bara de adrese.

Evenimentul Contact, pas cu pas

Pixelul de bază îți arată câți vizitatori ai avut. Nu îți arată câți au completat formularul. Pentru asta ai nevoie de evenimentul Contact, trimis exact în momentul în care formularul se trimite cu succes.

Dacă formularul are o pagină de „mulțumim” separată, la care omul ajunge doar după ce a trimis formularul, cel mai simplu e să pui codul evenimentului chiar pe pagina aceea, între tag-urile <head>, folosind același plugin de mai sus, dar de această dată doar pe pagina respectivă.

<script>
fbq('track', 'Contact');
</script>

Dacă formularul rămâne pe aceeași pagină și doar arată un mesaj de succes (cum fac majoritatea pluginurilor de formulare, inclusiv Contact Form 7 sau WPForms), ai nevoie de un declanșator prin Google Tag Manager, care detectează trimiterea cu succes și trimite evenimentul abia atunci. E un pas mai tehnic — dacă formularul e important pentru afacere, merită să-l pui corect din prima, nu aproximativ.

Cum verifici că totul funcționează

Nu ai încredere pe cuvânt — verifici. În Events Manager, intri la secțiunea Test Events (Testare evenimente), completezi formularul de pe site cu date de test și te uiți dacă evenimentul Contact apare în listă, cu ora exactă.

Dacă apare, ești în regulă: de acum, în Ads Manager, la coloana Results (Rezultate), vezi câte contacte reale au venit din fiecare reclamă, nu doar câte clicuri.

Întrebări frecvente

Am nevoie de Google Tag Manager pentru asta?

Doar dacă formularul rămâne pe aceeași pagină și nu redirecționează spre o pagină de mulțumim. Dacă ai o pagină separată, pui codul direct pe ea, fără Tag Manager.

Pluginul pentru header afectează viteza site-ului?

Nu, adaugă doar câteva linii de cod în capul paginii. Diferența de viteză e nesemnificativă comparativ cu ce câștigi în date despre reclame.

Ce fac dacă Test Events nu arată nimic după ce completez formularul?

Verifici mai întâi dacă Pixelul de bază funcționează, cu extensia Meta Pixel Helper. Dacă acela merge dar evenimentul Contact nu apare, codul lui nu e pus la locul potrivit.

You are spending money on Facebook and Instagram ads, people land on your site, but you have no idea how many actually filled in your contact form. Ads Manager shows you clicks, not results. To see real results, your site needs two things installed: the Meta Pixel and the Contact event.

What the Meta Pixel does and why nothing works without it

The Meta Pixel is a piece of code Facebook places on your site so it can see what visitors coming from an ad actually do there. Without it, Facebook only knows how many people clicked the ad — not what happened afterward.

With the Pixel installed, you can tell the system things like show this ad to people similar to those who already contacted me, or stop showing this ad to people who already filled in the form. Without it, your ads are running blind.

Installing the Pixel on WordPress

Do not edit the theme code directly — the next theme update wipes out everything you added. The simplest way is a plugin that gives you a field to paste code into, applied across all pages.

  1. Go into Meta Events Manager, from your Ads Manager account, and create a new pixel if you do not already have one.
  2. Copy the base Pixel code — the one Facebook displays on screen, with a Copy code button.
  3. Install a header-code plugin in WordPress, for example Insert Headers and Footers, from Plugins → Add New.
  4. Paste the Pixel code into the header field and click Save.
  5. Check it with the Meta Pixel Helper browser extension — if the Pixel is active, a green circle with a number shows up next to the address bar.

The Contact event, step by step

The base Pixel tells you how many visitors you had. It does not tell you how many filled in the form. For that you need the Contact event, fired exactly at the moment the form is submitted successfully.

If your form redirects to a separate thank-you page, one that people only reach after a successful submission, the simplest approach is to place the event code right on that page, inside the <head> tags, using the same plugin as above, but this time only on that one page.

<script>
fbq('track', 'Contact');
</script>

If the form stays on the same page and just shows a success message (which is what most form plugins do, including Contact Form 7 or WPForms), you need a trigger through Google Tag Manager that detects the successful submission and fires the event only then. This step is more technical — if the form matters to your business, it is worth setting up properly the first time, not approximately.

How to check it actually works

Do not take it on faith — verify it. In Events Manager, open the Test Events section, fill in the form on your site with test data, and check whether the Contact event shows up in the list, with the exact time.

If it shows up, you are set: from now on, in Ads Manager, under the Results column, you will see how many real contacts came from each ad, not just how many clicks.

Frequently asked

Do I need Google Tag Manager for this?

Only if the form stays on the same page without redirecting to a thank-you page. If you have a separate thank-you page, you place the code directly there, no Tag Manager needed.

Does the header plugin slow down my site?

No, it just adds a few lines of code to the page head. The speed difference is negligible compared to what you gain in ad data.

What if Test Events shows nothing after I submit the form?

First check whether the base Pixel works, using the Meta Pixel Helper extension. If that works but the Contact event does not show up, its code is not placed in the right spot.

Pixel MetaFacebook AdsWordPressevenimente conversieAds Manager

Mai departeRead next