Set up KiteTrack on WordPress
This guide is for a WordPress site without WooCommerce, usually a business that collects leads through a contact, quote or booking form. It follows the seven steps on the Setup page in your dashboard.
Selling with WooCommerce? Follow Set up KiteTrack on WooCommerce instead.
On an annual plan? Skip this guide. We do the full setup for you.
Before you start
- Admin access to WordPress, so you can add code to your site's
<head>. - A "thank you" page for each form: a separate page visitors land on after sending it, such as
https://yoursite.com/thank-you. Step 4 shows how to set this up in common form plugins. - A Google Tag Manager account, access to your domain's DNS, and the IDs of the platforms you advertise on.
- About 40 minutes, plus waiting time for DNS.
1. Choose your business type
Open Setup in your dashboard.
- Under What do you want to track? pick Lead gen (forms, calls and bookings).
- Under Where does your site run? pick Other / custom site. There is no separate WordPress card: a WordPress site without WooCommerce uses this one.
- Click Continue.
2. Connect your Google Tag Manager
- Open tagmanager.google.com → Admin → click + next to Container.
- Name it and choose Server as the target platform.
- Choose Manually provision tagging server and copy the Container Config.
- In KiteTrack, paste it into Server container configuration, and add Your web container ID (
GTM-…). - Pick Where are most of your customers?. This cannot be changed later.
- Click Connect.
Full walk-through: Create your Google Tag Manager containers.
3. Add your tracking domain
- Type a subdomain of your site under Your subdomain, such as
sst.yoursite.com, and click Continue. - Add the DNS records KiteTrack shows where your domain is managed. That is often your web host or Cloudflare, not WordPress itself. If there is a proxy option (Cloudflare's orange cloud), turn it off for these records.
- Click Check now.
DNS changes usually show within 30 minutes, but can take a few hours. We keep checking for you. Steps 4, 5 and 6 open as soon as the domain is added, so carry on. Full walk-through: Add your tracking subdomain.
4. Install on your site
Step 4 is called Install on your site. It shows Your Google Tag Manager code. This code loads Google Tag Manager from your own tracking domain, so ad blockers stop it less often.
The simplest way to add it is a header-code plugin. We use WPCode as the example; any plugin that adds code to the <head> of every page works the same way.
- In WordPress, open Plugins → Add Plugin (called Add New on older WordPress). Search for WPCode, then install and activate it.
- Open Code Snippets → Header & Footer.
- In KiteTrack, click the copy button next to Your Google Tag Manager code.
- Paste it into the Header box and click Save Changes.
- If you use a caching plugin or your host caches pages, clear the cache.
- In KiteTrack, click I've installed it.
Remove the old Google Tag Manager code. If Google Tag Manager is already on your site, through Site Kit, GTM4WP, your theme's settings or another header-code snippet, remove it. Keep only the new code, so the container does not load twice.
The page says Custom Loader is off? Switch it on in Power-ups, then come back to step 4 for your code. Or use Google's standard code: in Google Tag Manager, open your web container and click your container ID (GTM-…) at the top. Paste the first snippet into WPCode's Header box and the second into its Body box.
Then send each form to a thank-you page. Your lead tracking does not read the form itself. A lead is counted when a visitor opens your thank-you page. No extra code is needed for this. A form that only shows a "thanks" message on the same page is not counted, so set each form to redirect to a page.
Where to find the setting in common form plugins:
- WPForms: in the form builder, Settings → Confirmations. Set the confirmation type to Go to URL (Redirect) and enter your thank-you page.
- Gravity Forms: the form's Settings → Confirmations. Edit the confirmation and choose Redirect.
- Elementor Pro forms: in the form widget, open Actions After Submit, add Redirect, and enter your thank-you page.
- Contact Form 7: it has no redirect setting of its own. Add a redirect add-on, or ask your developer.
- Booking tools (Calendly and similar): set the booking confirmation to redirect to a page on your own site.
Menu names change from time to time. If yours differ, look for the form's confirmation or after-submit setting.
Two more ways people reach you are counted without any setup:
- A click on an email or phone link on your site counts as a contact.
- A visit to a booking thank-you page counts as a booking, if you add one in step 5.
5. Add the tracking files
- Under Where should we send your data?, pick your platforms and click Continue. Meta, Google Ads, GA4, TikTok, Microsoft Ads, Pinterest, Snapchat, LinkedIn, Reddit and Klaviyo are built into your files. Awin is set up by our team by hand.
- On Thank-you pages, enter the full address of your form's thank-you page in Lead page 1. You can add up to three. If people book calls on your site, add the page they see after booking under Booking page 1. Leave it empty if you have none.
- Fill in one page per platform, and click Next after each:
- Meta: Pixel ID and Conversions API token.
- GA4: Measurement ID (
G-…). - Google Ads: Conversion ID, Lead conversion label, Contact conversion label (for clicks on your email or phone link), and Booking conversion label if you added a booking page. Each label comes from its own conversion action.
- TikTok: Pixel ID and Events API token.
- Answer Do you use a consent banner?.
- Click Generate my files.
Two rules apply:
- Pick at least one of Meta, GA4 or TikTok.
- Google Ads needs GA4 too. Your Google Ads conversions are sent from your GA4 events.
Gave a wrong ID or token? On the setup page, open step 5 and click Change an ID or token. Fill in only what changed; anything left blank stays as saved. Then download the files again, import them in Tag Manager with Merge → Overwrite conflicting, and publish.
Copy the thank-you address exactly. Send a test form, then copy the address from your browser's address bar. If your site uses www., include it. An address that does not match is the most common reason a lead is not counted.
Then click Download .zip, unzip it, and import server.json into your server container and web.json into your web container: Admin → Import Container, your workspace, Merge → Overwrite conflicting, Confirm. Do not publish yet. Full walk-through: Import your tracking files into GTM.
Have a consent banner? Your tags wait for the visitor's consent, as you told us. Your banner plugin has to pass that consent to Google Tag Manager. See Consent Mode and GDPR.
6. Connect your ad accounts
Approve our access requests in Meta Business Manager and Google Ads, then click I've approved them. Usually ready within 1 business day. Full walk-through: Approve KiteTrack in Meta and Google Ads.
7. Send a test lead
This step opens when your domain is verified and steps 4, 5 and 6 are done.
- In Google Tag Manager, open your web and server containers and click Preview at the top right of both.
- Fill in your form and send it. Check in the debug window that the tags fire when the thank-you page opens.
- Click Submit in both containers to publish them.
Keep the Setup page open. Each platform in the Test listener turns green when it receives your test lead. Full walk-through: Test your tracking setup.
What success looks like
- Step 3 shows Verified for your subdomain.
- Every platform in the Test listener shows a green check.
- The page shows Setup complete and takes you to Overview, where new leads appear as they arrive.
Selling without WooCommerce?
If your WordPress site sells with another shop plugin, pick Ecommerce and Other / custom site in step 1. Your site then has to send shopping events, such as purchase, to Google Tag Manager. Set up KiteTrack on a custom website lists the events and their format.
Go deeper
- Create your Google Tag Manager containers
- Add your tracking subdomain
- Find your Meta Pixel ID and Conversions API token
- Find your Google Ads conversion ID and label
- Find your GA4 Measurement ID
- Find your TikTok Pixel ID and access token
- Import your tracking files into GTM
- Approve KiteTrack in Meta and Google Ads
- Test your tracking setup
Stuck anywhere? Click Get it done for me on the Setup page, or reply to any of our emails. It comes to a person.