Google Ads Tracking Setup for WordPress
Quick answer: Use the free container builder wizard to select Google Ads and your events, enter your tracking ID, then import the generated file into Google Tag Manager - no manual tag setup needed for any of the 21 events below.
Conversion tracking tags using Google Ads' native GTM tag type. This container uses a native GTM tag type for this platform.
Build my Google Ads container →
Events you can track
conversion events
- Google Ads Form Submission event setup
- Google Ads HubSpot Form Submission event setup
- Google Ads Contact Form 7 Submission event setup
- Google Ads WPForms Submission event setup
- Google Ads Gravity Forms Submission event setup
- Google Ads Comment Submission event setup
- Google Ads Newsletter Signup event setup
- Google Ads User Login event setup
- Google Ads User Registration event setup
- Google Ads Calendly Booking Scheduled event setup
- Google Ads Live Chat Started event setup
engagement events
- Google Ads Page View event setup
- Google Ads Scroll Depth event setup
- Google Ads Outbound Link Click event setup
- Google Ads File Download event setup
- Google Ads Phone Number Click event setup
- Google Ads Email Link Click event setup
- Google Ads WhatsApp Click event setup
- Google Ads Site Search event setup
- Google Ads Video Play event setup
- Google Ads Video Complete event setup
By Humayun Kabir Naim — Last updated: 9 November 2026
Quick answer
To track WordPress conversions in Google Ads through Google Tag Manager, create the conversion actions in Google Ads first — one primary action for your real lead (a completed enquiry, a booking), everything softer set to secondary — then fire GTM's built-in Google Ads Conversion Tracking tag only when the action has provably happened: on the thank-you page, when the form's success message appears, or on the form plugin's success event (Contact Form 7's wpcf7mailsent listener is the standard route). Never fire it on the submit click or GTM's generic Form Submission trigger — both fire on failed validation too, and Smart Bidding will optimise for form attempts. Give each form its own identity (form_id in the push, and its own label or action where values differ), add the Conversion Linker on all pages, and turn on Enhanced Conversions using the email and phone the visitor just submitted. If your GA4 lead events are already perfect, importing them into Google Ads is a legitimate alternative — the trade-off is delay and GA4's attribution instead of the tag's own, covered below.
What gets tracked
WordPress has no order to convert. Its conversions are enquiries, bookings and calls — so this table is a lead table, not a funnel:
| WordPress action | Capture it by | Google Ads role |
|---|---|---|
| Contact / quote form submitted successfully | Success signal (below) | Primary conversion — one action per form that matters |
| Contact Form 7 form submitted successfully | wpcf7mailsent listener push | Primary conversion |
| Any form submitted successfully (generic setup) | Shared generate_lead push | Primary conversion |
| Booking / appointment completed | Booking confirmation page or tool event | Primary conversion (or secondary if enquiries are the real goal) |
| User registration completed | Registration success page or event | Primary or secondary — decide once |
| Phone number clicked | Click trigger on the tel: link | Secondary conversion |
| WhatsApp button clicked | Click trigger on the wa.me link | Secondary conversion |
| Email address clicked | Click trigger on the mailto: link | Secondary conversion |
| Any page viewed | Google tag / remarketing | Remarketing signal — feeds audiences, not bidding |
| Key service / landing page viewed | Page View trigger on those paths | Remarketing signal (optional) |
| Search, scroll, download, outbound click | GA4-side events (WordPress × GA4 hub) | Not Ads conversions — leave them in GA4 |
Two disciplines run through the table. Primary means bidding: only actions Smart Bidding should chase get Primary status, and on a lead site that is the completed enquiry — not the phone tap that preceded it. Clicks are intent, submissions are conversions: a tel: tap can be counted (as a secondary action, useful for audiences and observation), but GTM cannot hear the call — it counts the tap, and a tap is not a conversation. Sites that need real call outcomes use Google forwarding numbers on their ads or import call results offline; both sit outside this hub.
One structural warning before you build: if WooCommerce runs underneath this WordPress install, purchases belong to the WooCommerce + Google Ads hub — do not build a second purchase action here.
Deep dives: Form Submission, CF7 Form Submission, Lead, Phone Click, Calendly Booking. The form signals below are shared with GA4 — build them once: WordPress + GA4. See all options on the WordPress hub.
Before you start
- The conversion actions, created in Google Ads first. GTM cannot invent a conversion — the action must exist in the ad account. In Google Ads: Goals → Conversions → New conversion action → Website. Set the category (Lead, Book appointment, Contact, Submit lead form — pick the honest one), status Primary for the real lead and Secondary for clicks and softer actions, counting to One (one ad click should not become five leads because a visitor submitted twice), and a value — the same estimated value for every lead of that type, different values per form, or none to start; you can add values later without rebuilding. At Tag setup, choose Use Google Tag Manager and copy the Conversion ID (the number after
AW-) and the Conversion Label for each action. One action per form is the clean setup where forms differ in value; one shared action withform_idseparation is acceptable where they do not. - GTM installed on the site, once. One web container (GTM4WP or your theme setup). Check no second container or hardcoded Google tag is hiding in the theme — and check Site Kit: if Site Kit places its own Google tag, make sure it is not also sending Ads conversions alongside GTM.
- Forms that expose a success signal. Each form needs at least one of: a thank-you page redirect, a visible success message, or a plugin success event (Contact Form 7, WPForms and Gravity Forms all provide one; Elementor forms offer a Redirect action after submit). If your GA4 form tracking already works, these signals already exist in GTM.
- A consent setup that reaches Google tags. Google Ads tags run under Consent Mode: in the EEA, conversions from visitors who decline are modelled rather than exact, and Enhanced Conversions data may only be sent with the visitor's consent. Your banner must pass consent states into GTM — the Consent Mode v2 guide covers the wiring.
Route 1: Use the free TagManagerBuilder container
Open the GTM Container Builder, choose WordPress, then Google Ads, and tick the events you want. Enter your Conversion ID and labels, download the JSON, then in GTM go to Admin → Import Container and choose Merge → Overwrite conflicting tags, triggers, and variables. Test with the testing section below before publishing. If a GA4 or Meta container from this site is already in the workspace, import into the same workspace so the form triggers, the listener and the variables are shared, not duplicated — the conversion tag must hang off the same success signals your other tags use.
Route 2: Build it manually in GTM
Step 1 — The Conversion Linker tag
Tags → New, choose Conversion Linker, trigger All Pages. It stores the ad-click identifiers in first-party cookies so a lead submitted days after the click is still attributed to it. Exactly one per container — if one exists, keep it and move on.
Step 2 — The success push (one signal for every form)
The conversion tag needs a trigger that means "this submission succeeded", and WordPress forms offer three, in the same order of preference as the GA4 and Meta hubs:
- Thank-you page. If the form redirects after success, a Page View trigger on that page works — with the shared-page trap handled in Step 4.
- Success message. An Element Visibility trigger on the form's success message (CSS selector, once per page). Works with almost every form plugin.
- The plugin's success event (cleanest). Contact Form 7 fires a DOM event,
wpcf7mailsent, only when the mail was actually sent. A small Custom HTML listener tag turns it into a dataLayer push — and, unlike the GA4 version, this push also carries the submitted email and phone for Enhanced Conversions (Step 5) plus the identity of the form:
document.addEventListener('wpcf7mailsent', function(event) {
var email = '', phone = '';
(event.detail.inputs || []).forEach(function(input) {
if (input.name.indexOf('email') !== -1) email = input.value;
if (input.name.indexOf('phone') !== -1 || input.name.indexOf('tel') !== -1) phone = input.value;
});
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'generate_lead',
form_id: 'cf7-' + event.detail.contactFormId,
user_email: email,
user_phone: phone
});
}, false);
Fire the listener on All Pages (or only on pages with forms). WPForms, Gravity Forms and Ninja Forms fire their own success events or show configurable success messages/redirects — the pattern is identical: one push, named generate_lead, carrying a distinct form_id per form. Elementor Pro forms have no front-end success event to listen for; use their Redirect action after submit (thank-you page route) or the success-message visibility route.
Step 3 — The conversion tag
Create a Custom Event trigger on generate_lead. Then Tags → New → Google Ads Conversion Tracking:
- Conversion ID: the numeric part of your
AW-ID (for example123456789fromAW-123456789) - Conversion Label: the label of the action this form belongs to
- Conversion Value: a Data Layer Variable or a constant Lookup Table keyed on
form_idif forms carry different values; leave empty if the action holds the value - Order ID: leave empty for leads — there is no order. (If you want duplicate protection beyond counting=One, a per-submission ID in the push can go here; most lead sites do not need it.)
Attach the generate_lead trigger with a condition: form_id equals this form's ID. Repeat the tag per action — one tag, one label, one form (or one form group) — rather than one tag trying to serve every form with a shared label. That separation is what later lets you bid on quote requests and merely observe newsletter sign-ups.
Step 4 — Several forms, one thank-you page
The classic WordPress trap: the contact form, the quote form and the landing-page form all redirect to /thank-you/, and a Page View trigger on that path counts them as one conversion. Two fixes, in order of reliability: (a) stop using the redirect as the signal — use the Step 2 push (the listener or message fires per form, with its form_id, regardless of where the visitor lands next); (b) if you must keep page-based tracking, give each form a distinct landing URL — most form plugins let you append a query string to the redirect (/thank-you/?form=quote) — and condition each trigger on that parameter. Option (a) is the real fix; (b) breaks the day someone tidies the URLs.
Step 5 — Enhanced Conversions, from the form itself
Enhanced Conversions sends hashed first-party data with the conversion so Google can match leads to signed-in users when the click cookie is missing. On a lead site the data is sitting in the form the visitor just submitted — which is why the Step 2 listener reads it into the push. Wire it up:
- In the conversion tag, tick Include user-provided data from your website and choose Manual configuration.
- Create a User-Provided Data variable: Email → a Data Layer Variable for
user_email; Phone → a Data Layer Variable foruser_phone. Select that variable in the tag. - GTM hashes the values in the browser before anything is sent. Two honesty rules: only send data the visitor typed into this form for this purpose, and only under the consent your banner collected — user-provided data is personal data, and "the form had the field" is not by itself a lawful basis everywhere. If your forms do not collect email or phone, Enhanced Conversions has nothing to work with; skip it rather than inventing data.
Then verify in Google Ads: the conversion action's Enhanced conversions status and Diagnostics tab should show it recording within a few days. A low match rate almost always means the variables are empty at the moment the tag fires — check their values on the generate_lead event in Preview before touching the ad account.
Step 6 — The click actions (secondary)
Phone, WhatsApp and email taps use Click triggers scoped by link — Click URL starts with tel:, contains wa.me, starts with mailto: — each with its own secondary conversion action and label, and a distinguishing parameter or separate action name so the three never blend. Keep them secondary: they are intent signals for audiences and observation, and promoting them to primary teaches Smart Bidding to buy taps instead of enquiries.
The alternative: importing conversions from GA4
If the WordPress × GA4 setup already produces a clean generate_lead key event, Google Ads can import it: link the accounts, mark the event as a key event in GA4, and import it as a conversion action. It is a legitimate route — one source of truth, no extra tag. Know its costs before choosing it:
- Delay. GA4 processes events on its own schedule and the import runs after that, so imported conversions reach Google Ads later than the native tag's — same-day bidding decisions are made on staler data, and a broken form can go unnoticed for longer.
- Attribution. The import carries GA4's view of the conversion; the native tag attributes with Google Ads' own click data and can add Enhanced Conversions matching on top. On lead sites where many conversions happen days after the click or in a signed-in browser, that matching difference is real money.
- No per-form labels at the tag level. Separation must be built in GA4 (separate key events per form) instead of in GTM.
The rule, as everywhere in this series: one primary source per action. Native tag or GA4 import as primary; the other, if kept at all, set to secondary. Both primary is the standard double-count, and Smart Bidding cannot tell.
Test it: GTM Preview first, then Google Ads' own status
- Click Preview in GTM and open the site in Tag Assistant.
- Submit each form once with test details — including one deliberately invalid submission (a malformed email), which must produce no conversion tag. If the invalid attempt fires the tag, your trigger is on an attempt signal; move it before publishing.
- On the
generate_leadevent in the Preview timeline, open the conversion tag and read its values: correct Conversion ID and label for this form, the rightform_id, and — if Enhanced Conversions is on — the user-provided data variable populated, not blank. - Run the shared-page test if several forms redirect to one thank-you page: submit two different forms and confirm two distinct actions (or one action with two distinct
form_idvalues) result. - In Google Ads, open the conversion action. A new action shows Inactive until its first recorded conversion, then Recording conversions; the Diagnostics tab reports problems once data flows. Allow a few hours for the first conversions to appear — a tag verified in Preview that has not surfaced yet is usually the delay, not a fault.
- Only then click Submit in GTM to publish, and repeat one test submission against the live container.
WordPress-specific troubleshooting
Conversions are roughly double the real enquiry count. Two primary sources: the GTM tag plus a GA4 import both set to primary, or Site Kit / a plugin sending its own Ads conversion. Goals → Conversions lists every action and its source — keep one primary per action and demote or remove the rest.
The tag fires on failed submissions. It is attached to a click or to GTM's built-in Form Submission trigger, which fires when the form is submitted to the browser, before validation. Move it to a success signal (Step 2) and re-run the invalid-submission test.
Every form reports as the same conversion. Shared thank-you page or a shared label. Fix at the signal: form_id in the push, separate tags/labels per form (Step 4).
Enhanced Conversions warns about missing or low-match data. The user-provided data variables are empty when the tag fires — usually because the push does not carry the fields (a form plugin whose success event exposes no inputs) or the tag fires from a thank-you page where the form no longer exists. Read the values from the success event itself, as in Step 2, not from the page after redirect.
Nothing fires at all on the live site, but Preview works. Caching and optimisation plugins are the usual cause: "delay JavaScript execution" features hold GTM back until the visitor interacts, and aggressive minification can break a listener pasted into the theme (one more reason the listener lives inside GTM). Exclude the GTM snippet from JS delay, publish the container (Preview tests the draft), and re-test on the live version in an incognito window.
Conversions record, but days late and unattributed. Check the Conversion Linker exists and fires on all pages, and confirm the actions are not GA4 imports being mistaken for tag conversions — imports are expected to lag; the native tag is not.
Next steps once this is clean: WordPress + Meta reading the same generate_lead push, and Consent Mode v2 so the consent your banner collects actually reaches these tags.
Frequently asked questions
Should I use the GTM tag or import my conversions from GA4?
Use one as the primary source — never both. The GTM tag reports faster, attributes with Google Ads' own click data, and is the route Enhanced Conversions builds on, which matters on lead sites where conversions happen days after the click. A GA4 import is simpler if your GA4 lead events are already clean and separated per form. If you keep both, set the import to secondary.
Why does my conversion tag fire in Preview but nothing appears in Google Ads?
Work through the boring causes in order: the container is not published (Preview tests the draft); the Conversion ID or label has a typo or belongs to a different ad account; the action is new and still within its first hours — new actions show Inactive until the first conversion records; or the Conversion Linker is missing, so conversions cannot be attributed to clicks and surface late or not at all.
Can one conversion action cover all my forms?
It can, but you lose the ability to value or bid on forms separately. The clean setup is one action (or at least one label) per form that matters, with form_id in the dataLayer push telling the tags apart. A shared action is fine for forms of genuinely equal value — a newsletter sign-up and a quote request are not equal, and should not share an action.
Do I need Enhanced Conversions on a lead-generation site?
Arguably more than a shop does. A purchase happens minutes after the click with the cookie usually intact; a lead can arrive days later, from a different browser state, and the submitted email or phone is exactly the matching data Enhanced Conversions uses. If your forms collect email or phone, wire it as in Step 5 — with consent, and only with data the visitor submitted for that purpose.
My form has no thank-you page. Can I still track conversions?
Yes — the thank-you page is only one of three success signals. Use the form's success message with an Element Visibility trigger, or the plugin's success event (Contact Form 7's wpcf7mailsent listener is the standard build). What you cannot do is fire the conversion on the submit click or GTM's Form Submission trigger: both fire on failed validation too.
Does counting a phone-number tap count the phone call?
No. GTM sees the tap on the tel: link; it cannot hear whether a call happened, how long it lasted, or what was said. Count taps as secondary actions if they help you, and use Google forwarding numbers on your ads or offline call imports when the business needs real call outcomes.