Blog Post

How to track Facebook Ad clicks in Infusionsoft from your Leadpages

If you’ve ever experienced the frustration of getting Infusionsoft to show which customers clicked on a Facebook ad that lead to a purchase, then you need to read this article now.  In order to justify your investment of Facebook ads, you need to know which buyers have clicked on an ad.   This is where Infusionsoft’s “hidden fields” and “Lead Source” becomes critical.

How to Pass Values Through a URL to an InfusionSoft Contact Record

 The documentation below will give instructions on how to customize an InfusionSoft web form in LeadPages so that a value can be passed through a URL and stored into an InfusionSoft contact record.

In this example, we will use the opt-in form URL, www.xyz.com/?source=BLANK as an example and will be passing the value LeadSource through the webform.

1) Find the Web Form that is being used.

  1. Login to your Leadpages account.
  2. Select the page you wish to edit.
  3. Click on any of the form fields or button (If you are using a pop-up form, you’ll need to click on the button that triggers the pop-up).

  1. Click on “Integration Settings.”

  1. You’ll see that InfusionSoft is the CRM selected and below that, the name of the web form selected.

 

2) Edit the Web Form in InfusionSoft

  1. Web form will mostly likely be in a campaign.

…But may be under legacy web forms. Marketing > Legacy then Legacy > View Web Forms

 

  1. Add a hidden field to your web form
    • Under design, select the Field Snippets tab and then drag “Hidden” to your web form. It doesn’t matter where in your web form the field is.

  1. Select the field you wish to use. In this example, we are using Lead Source.
    • You can use a custom field here if you wish.
    • Do not enter a value into “Field Value”

 

  1. Select the “Save” button. Your form should look similar to the screen shot below. If you do not see a hidden field, the field you just tried to add was not added successfully.

  1. Publish Campaign.

 

3) LeadSource vs. Custom Field

 

LeadSource

If using LeadSource , you will need to find the LeadSource ID. This is how InfusionSoft references LeadSources in web forms. LeadSource ID will fill a leadsource value into the contact record as shown below:

  1. Search through the current LeadSources in Infusionsoft (If the LeadSource doesn’t already exist, you will need to create one).
    • Marketing > Settings and Click on LeadSource in the navigation pane.

  1. Use the Search box to search for the LeadSource you need and copy the ID OR Add a new LeadSource to use.

 

  1. The ID we need in this case is “37.” This is the value we will pass in the URL.

 

Custom Field

If using custom field, you do NOT need to find an ID for that field. Value will be stored in the selected field under the Custom Fields tab.

 

Example

Custom Field URL would look like, www.xyz.com/?custom_field=xyzabc

LeadSource URL would look like, www.xyz.com/?source=37

 

4) LeadPages Edits/Integration

  1. Repeat the steps in section 1 to find the web form being used. You will need to reload that web form so LeadPages is using the NEW EDITED web form we just updated.
  2. Click on “Reload” and wait for the section to reload.

  1. Click on the “Okay” Button
  2. Click on “Show Advanced options…”

  1. You will see the new field listed.

  1. Click on the new field “inf_field_LeadSource”. NOTE: If you are using a custom field and not LeadSource, the field name will be different.
  2. Make sure the Field role is set to “Hidden.”
  3. The Default value can be left blank. If you want to set a Default value feel free. That means, if there is no value passed in the URL, Leadpages will pass this value to the contact record.
  4. Set the pre-populated variable to “source” as shown below.
    • The value entered here MUST match the variable used in your URL.. remember our URL in this example is, xyz.com/?source=BLANK , so the variable entered here must match that URL variable, “source.”

 

  1. Press the “Okay” Button.
  2. Save the LeadPage.

 

5) Test Your URL

  1. Put the ID for the LeadSource you wish to pass to InfusionSoft at the end of your URL.
    • In this example, the URL would be: www.xyz.com/?source=37
  2. Test YOUR URL in your browser to make sure the page loads with no issues. If it does not load, or there is an error, the URL you pasted is either incorrect, your page has not been published or there is another issue with your webpage.
  3. Submit the form with a NEW email address that is not assigned to a contact record in InfusionSoft.
  4. Once the form is submitted, find the contact record and look at the LeadSource. In this example, it says Facebook because the value 37 we passed through the URL matches the LeadSource ID for Facebook.

 

  1. Now submit your form with an email address in Infusionsoft that already has a contact record. Make sure the form still submits correctly.
  2. Please NOTE that this will not replace an already existing LeadSource. If Susie Que has a LeadSource of “Google Adwords” and she submits this form, it will NOT change it to “Facebook”. LeadSource is 1 value, the referral source for that contact record.

NOTE: If you were to use the same URL to show LeadSource for multiple platforms/affiliates, you would end up using a list of URLs similar to the following:

  • Facebook: www.xyz.com/?source=37
  • YouTube: www.xyz.com/?source=82
  • Adwords: www.xyz.com/?source=398
  • Affiliate: John Smith: www.xyz.com/?source=602
  • New Product Email Launch 17: xyz.com/?source=608

 

6) Reporting

By LeadSource

  1. To pull a report of all contacts with a specific LeadSource, go to CRM > Contacts and click on the “Misc Criteria” Tab.
  2. Type in the LeadSource you wish to run a contact report for. This example report below will pull all contact records with the Facebook LeadSource.

 

 

 

By Custom Field

  1. To pull a report of all contacts with a specific Custom Field, go to CRM > Contacts and click on the “Custom Fields” Tab.
  2. Find the custom field used in your web form, and type in the value you wish to run a contact report for. This report will pull all contact records with the matching custom field value Facebook in that custom field.

Related Posts

PowerEditorScreenShot1
Don’t Let The Power Editor Scare You!

  The power editor tool on Facebook has gotten a bit of a bad rep.

Screen%20Shot%202016-02-02%20at%204.06.49%20PM.png
The 5 most powerful words in marketing EVER – (Please) “Don’t Keep Me a Secret!”

Do you know what the most powerful words in internet marketing are? You might be

Screen%20Shot%202016-02-02%20at%204.04.39%20PM.png
A Great Tool- If You Know How to Use it!

If you’ve been using Facebook as a business owner for a while now, you

Screen%20Shot%202016-02-02%20at%203.58.16%20PM.png
A Huge Mistake That Too Many People Make

As much I love to talk about reasons you need to spend time on

Facebook For Authors – Book Launch Marketing

Facebook For Authors - Book launch marketing from Bret Gregory Click Here for Facebook

My Favorite “Secret” Facebook Hack!

I’m guessing if you’re reading this, you’re a visionary entrepreneur who sees the potential

The Best Pattern Interrupt Facebook Ads

Get Your Profitable Facebook Ads Step by Step Full Course For Free Now; https://attractcustomersnow.com/profitable-facebook-ads-step-step/

Photo Album Stack

Take a look at your friends’ list on Facebook. What does pretty much everyone

Screen%20Shot%202016-02-02%20at%203.31.02%20PM.png
Smart Spending

I don’t know too many business strategies that are a sure thing, but Facebook

LASER TARGET YOUR AUDIENCE INSIGHTS

I don’t know too many business strategies that are a sure thing, but Facebook

Types of Facebook Ads

  One thing I’ll say for Facebook? They never rest! Facebook has done a great

AD PLACEMENT

  Does Location Matter? You know what they say, when it comes to business the most

Screen%20Shot%202016-02-02%20at%2011.21.30%20AM.png
What is the Secret Weapon That Most of the Top Marketers Share? A WINNING MINDSET!

  The secrets of the most successful Facebook marketers? MINDSET! It’s counterintuitive I know. In the

FACEBOOK PANIC- Is it really warranted?

There’s a lot of talk about Facebook these days that has business owners up

THE GLOBAL AD SECRET

By now there are is a lot of advice out there on how to

The Lowdown on Instagram Ads and Why You Should be Using Them

https://youtu.be/1d7XM1rlGt8 If you’ve been following me for a while, you know that I’ve had a

Create Your LeadAds 1-12-16

https://youtu.be/PYybFjKKyNU Great news! Lead Ads, which were first introduced in June 2015, and are now

Facebook Lead Ads

Great news! Lead Ads, which were first introduced in June 2015, and are now

Launch Your Book 1-5-16

https://youtu.be/twx_QUzmKnc

Create your Marketing Calendar – 12-29-15

https://youtu.be/KarwipA6wzQ

Social Proof – Viral Facebook Ad 12-22-15

https://youtu.be/dhORrjlP72Q

Marketing Calendar – 12-15-15

https://youtu.be/Xvoya0Kg_P4

Simple Sales System 12-8-15

https://youtu.be/K9-TSY_QcTg

3 Step Viral Post Formula

https://youtu.be/-ghtqOe89cI

7 Secrets To Make Your Content Go Viral

Today I want to talk about the science of sharing and how to make

The Reason Your Facebook Ads Are Failing, and How to Change It

You may be paying for Facebook ads and feel frustrated that they’re not working.

How to Build Your Email List Using Facebook Ads

If you’re looking to grow your business, the most valuable thing you have as

The Secret to 10x More Engagement on Facebook

When you’re trying to get customers to come to your website from Facebook, a

How to Turn a Facebook Ad Into New Customers

When you’re trying to advertise to prospective customers on Facebook, it’s critical that you

Why Some Facebook Ads Fail and Others Succeed

Today is all about how to boost a post on Facebook to find your

Get More Likes and Click Throughs CHEAPER Using Viral Facebook Ads

First off, what are viral Facebook ads and why do you want to learn

Attract More Customers with Your Facebook Timeline Cover

A big mistake that I see most entrepreneurs make when marketing on Facebook is

How to Find Your Customers Using Facebook

Facebook is the largest word of mouth marketing network in the world, but people

[Infographic] Facebook New Timeline Image Dimensions, Posts, Ads

Facebook New Ad photo Dimensions   You’ve probably noticed your Facebook new layout for your Business

The Facebook Millionaire Mindset

Part One of the Facebook Millionaire Mindset: The first thing that we want to talk

Your Customers Are Twice (2X) As Motivated To Buy With This

  Pain is a crucial element in effective marketing. So is using your customer's words

Create Your Marketing Just for Your Perfect Customer

When we're creating our marketing, we're creating our marketing just for our customer avatar.

How To Create Perfect Copywriting That Motivates Your Customers To Take Action

Do you want to end your copywriting struggle forever?   It’s simple, it’s been tested and

The Secret Way to Win Customers Easily, Part Two

As promised last week, today I'm going to teach you how to dramatically increase

The Secret Way to Win Customers Easily, Part One

What are the typical ways that websites use to get customers?  Social media marketing,

Be the Authority. Get Thousands of Facebook Likes on Your Blog

Being the recognized authority in your niche affords you instant trust and credibility with

How to Find the Photo that Will Make Your Facebook Post Go Viral

There’s a whole science behind picking the right photo on Facebook in order to

Get 10x Cheaper Click-Throughs on Your Facebook Ads

The state of click-through costs is changing with regard to Facebook posts. The costs

How to Use Simple Testimonials for Major Business Growth

Testimonial marketing is something I’ve been using for 20 years. I’ve found it to

How to Win In Business Before You Even Start (How To Create A Simple Flowchart To Get More Sales)

Entrepreneurs are always looking for better ways to win and better ways to succeed.

Make Money With Facebook Ads Now. Register For Facebook Ads A to Z!

Click Here To Register For Facebook Ads A to Z Now.