How to Set Up Facebook Ads Conversion Tracking for Wordpress and Leadpages

YO! This post is out of date. I hope you’ll forgive me if I sent you here myself. The good news is that the up-to-date instructions are right here:

Thanks for your understanding! Good luck with your campaigns. ?

Facebook Ads can be a great way to grow your business. You can get the word out about your offerings, grow your list, and even make sales.

What you can’t do is figure out which ads work best for your business if you aren’t tracking conversions!

“What exactly is conversion tracking?”

First you have to figure out what the “conversions” in your business are. For most online businesses, conversions are usually when a prospect converts to a customer. In other words, when someone buys something from you.

But you have a lot of other important conversions as well, such as:

  • after visiting your website, I sign up for your newsletter

  • instead of just browsing your online store, I actually add something to my cart

  • I opt in to your free or reduced-price trial membership

  • my visit to your website lasts more than a certain number of minutes

  • I download a piece of your content

You set the conversions in your business, and usually you add them as “goals” in your Google Analytics account.

For your Facebook ads, however, it’s REALLY easy to see not only which ads are netting you the most conversions, but how much each one of those conversions in costing you.

Before you can run ads, though, you have to set up your conversion tracking. Here’s how it’s done:

  • Go to the Ad Manager and click on Conversion Tracking in the menu on the left.

  • Click on the green Create Conversion Pixel button at the top right of your screen.

  • Name this particular conversion then determine which kind of conversion you’ll be tracking. You’ll see 6 options, but I’d say about 95% of people only need to worry about tracking Checkouts and Registrations/Leads

    • Checkouts: a purchase of any kind

    • Registrations or Leads (these are the same thing; I usually choose Leads): any time someone gives you their email address (for a newsletter or free trial) that DOES NOT involve a monetary transaction

    • Key Page Views: use this if you want to track how many people viewed a specific page, like your sales page

    • Adds to Cart: any time a visitor adds one of your products to their cart (this is an important goal for ecommerce businesses)

    • Other Website Conversions: you can determine something like the time spent on your site, number of pages viewed, etc.

NOTE: If you have multiple products or multiple ways someone can become a lead that you want to track with Facebook ads, you need to set up individual conversion tracking for each one.

For example, if this ad campaign is focused on building your list using a free webinar as your piece of opt-in content, the conversion you need set up is just for that free webinar.

  • If the conversion you’re tracking is a purchase, add the value of that purchase. If you have an approximate value that you’ve identified per lead, add that.

  • Click “Create Pixel.”

Here’s where the technical magic comes in. DON’T RUN AWAY JUST YET! If I can do this, you can do this. I’m going to walk you through it right here:

  • Your pixel needs to go on the “thank you” or “success” page of the conversions. You know how when you buy something online or sign up for someone’s newsletter, you get directed to a page that says “Thanks for your purchase!” or “You’re now signed up for our newsletter!” That’s the “thank you” page. You should have one set up for each of your conversions.

  • If your site is built on Wordpress, first you need to install and activate a free plugin called Facebook Pixel Conversions for WordPress. (If you’re using Leadpages for your landing page and thank you page, jump down to the section on setting up tracking with Leadpages.)

  • In your Wordpress dashboard, find your thank you page for this particular conversion. If you scroll down, you’ll see this box:


  • Check the box, and copy and paste your conversion pixel code into this space.

  • Test that your conversion tracking is set up correctly by visiting your thank you page in an incognito window of your browser (right click on your browser icon and select “incognito” or “secret window”). You know you placed the pixel correctly if it shows as Verified in the Ads Manager.

BOOM! You’re tracking conversions. (Now’s a great time to try out a new list building campaign.)

To set up conversion tracking in Leadpages:

  • Go to your list of pages you’ve created by clicking here.

  • Find the thank you page you made for this conversion and click the blue “Edit” button on the right side.

  • Click on Lead Page Optins in the left menu.

Leadpages Conversion Tracking Step 1

  • Select “Tracking Codes” from the options on the pop-up. Then paste your conversion pixel code in the box below Head-tag tracking code.

Leadpages Conversion Tracking Step 2

  • Click “Done” and then save your page.

  • Test that your conversion tracking is set up correctly by visiting your thank you page in an incognito window of your browser (right click on your browser icon and select “incognito” or “secret window”). You know you placed the pixel correctly if it shows as Verified in the Ads Manager.

DONE! Now YOU’RE tracking conversions.

Got questions? Running into some technical difficulties? Let me know in the comments below and I’ll do my very best to help you sort ’em out.

And don’t forget to grab your FREE guide to Facebook ads that grow your list right here: