Install and test your tracking

You will install at least one platform's tracking and prove it records a real test conversion.

There is a moment every advertiser dreads: a month into a campaign, you discover the conversion tag was on the wrong page, or firing twice, or not firing at all. Every number in the report was wrong, and the platform spent the month learning from bad data. Almost every case of this could have been caught in ten minutes before launch, by doing what this exercise asks you to do.

You will install tracking for one platform, define your main conversion, complete a real test conversion yourself and watch it arrive. It takes about forty minutes the first time. Pick the platform you chose in your account plan from lesson 2.4, Plan your account structure.

Step 1: install through an integration where you can

There are three common ways to get a pixel or tag onto a site, in order of preference for most small businesses.

The first is your website platform's own integration. Shop builders and website platforms often have an app, plugin or settings page for Meta, Google and TikTok. You log in to the ad platform from inside it, choose your pixel or tag, and the platform places the code and often sets up standard events and server-side sending for you, as lesson 3.2, Server-side events and first-party matching, described.

The second is Google Tag Manager, a free tool that holds all your tags in one container. You add the container to your site once, then add and manage tags from Tag Manager without touching the site's code again. It is more work to learn but gives you control when an integration does not exist or does not do what you need.

The third is pasting code into your site's template by hand. It works, but it is the easiest route to break later when someone edits the site. Use it only when the other two are not available.

Step 2: define the main conversion

In the ad platform, create or confirm the event that will be your main conversion. Use the action you chose in lesson 3.1, What a pixel does and why the auction needs it.

Be precise about where it fires. A purchase should fire on the order confirmation, not the checkout page, or every abandoned checkout counts as a sale. A lead should fire when the form is successfully submitted, not when the form page loads. If you can pass a value, such as the order total, set that up now.

Step 3: test with the platform's own tools

Each platform has a way to watch events arrive as they happen. On Meta, Events Manager has a test events area where you open your site in a browser and see each event appear as you trigger it, including whether it came from the browser, the server or both. Google's Tag Assistant lets you open your site in a debugging session and see which Google tags fire on each page and what they send. TikTok's Events Manager has its own testing area as well. The exact names of these tools change, so search each platform's help for testing events if a screen looks different.

Open the testing tool, then go through your site as a customer would. Land on the home page. Visit a product or service page. Complete the main conversion.

Step 4: one real conversion, counted once

Do the real thing. Buy the cheapest item and refund it afterwards, or submit the form with your own details, marked as a test in the message field so you can delete the enquiry later.

Then check three things in the testing tool. The conversion event appeared. It appeared once, or, if you send it from browser and server, it appeared from both and was deduplicated into one. And any value you send is correct. If something is missing or doubled, fix it and test again. Do not move on with a known problem.

Some reports, such as conversion columns in Google Ads, can take hours to update. The testing tools show events straight away, which is why you test there first.

A worked example

Priya's site runs on WordPress with a booking form for trial classes. She installed Meta through a plugin that connects her pixel and sends server events. In Meta's Events Manager she set Lead as her main conversion, firing on the form's thank-you message.

Her first test showed Lead arriving twice from the browser, because the plugin and an old code snippet a freelancer had pasted into her theme both fired it. She removed the old snippet and tested again. This time Lead arrived once from the browser and once from the server, with matching event IDs, and Events Manager showed them deduplicated. She took a screenshot of that screen.

Then she wrote a short note in a shared document: event name Lead, fires on booking form success message, sent by plugin from browser and server, tested on a given date. Six months later, when she changes the form, that note tells her exactly what to test again.

When you are finished, you have one platform's tracking installed, a main conversion defined and firing on the right page, a screenshot of a real test conversion arriving once in the platform's event tool, and a written note of each event's name and where it fires. If you advertise on a second platform later, repeat the same steps for it.

Set aside forty minutes with your site and the ad platform open side by side. The activity below asks you to do exactly this and keep the screenshot.

Install one platform's tag, define your main conversion, complete a test conversion and screenshot it arriving in the platform's event tool.

Course

Junxiong-WFG Organisation is an authorised representative of AIA Financial Advisers Private Limited (Reg. No. 201715016G).