If you have a content upgrade, it can seem impossible to track your leads using the Facebook pixel without them leaving your page. Here’s how to fire that event and keep them where you want them …reading the rest of your blog post.

Did you embed your optin on your blog post or page? That’s called a content upgrade.

A content upgrade is simply bonus content that people can get access to in exchange for their email address. A related freebie or worksheet or even a video that you want reward your readers with for joining your list.

How do you track content upgrade leads with the Facebook pixel if they don’t go to a thank you page?

With content upgrades in the middle of your blog post, you don’t want them to give up their email addresses if it means they leave your article to hit the thank you page and fire that lead pixel event. Here’s how to track content upgrade leads and keep them where you want them when using optin form embeds, specifically ConvertKit.

Content upgrades. We love them. You embed your ConvertKit form into the middle of your blog post, but how do you track Facebook pixel lead events if you want them to stay there and not redirect to a thank you page?

You want them to stay there and keep reading so redirecting to a thank you page is not optimal but if you use a success message, you can’t fire the lead pixel event to track your leads for ad usage and audience building later.

Want them to keep reading and still track them using the Facebook pixel?

This is how.

Here is the code you’ll need:

In Divi, add the code block and paste this code:

IMPORTANT NOTE: sometimes when you copy and past code from a website or pdf, the ” will look different, almost curly. Make sure after you paste this to go and manually replace with the ” from your keyboard. If not, the code will not work.

<script>
function buttonClickPixelFire() {
// Grab those subscribers
window._fbq.push(‘track’, ‘lead’);
}
</script>

In the video above I used a text block module for my ConvertKit embed and lost my code for some reason after the page update. Use a code block here instead. I’m not sure why this became a problem but the code block seems to be just fine.

In Divi, add another code block and add this to your button code you copied from ConvertKit right after <button — see the example below:

onClick=”buttonClickPixelFire();”

It will look like this – although your style may be different.

IMPORTANT NOTE: sometimes when you copy and past code from a website or pdf, the ” will look different, almost curly. Make sure after you paste this to go and manually replace with the ” from your keyboard. If not, the code will not work.

<button onClick=”buttonClickPixelFire();” class=”formkit-submit” style=”color: #ffffff; background-color: #1677be; border-radius: 4px; font-weight: 400;” data-element=”submit”>Subscribe</button>

.Not using Divi yet?

Get Divi now: http://bit.ly/2n7T1a7

Ready for ConvertKit?

Sign up for ConvertKit: http://bit.ly/2MdAVCC

About the Author

“I’m the Facebook™ marketer you’ve been looking for”

Who am I? I am a Facebook™ marketer who helps online entrepreneurs and course creators sell their programs and courses with ads. I love silly pics and laughing. I love my dogs and cats (I have both) and I love my family. I love putting on my Beats and dancing in any room I’m in. I love making videos of me singing silly songs. I love Game of Thrones.

I LOVE Facebook™ ads and have been trained by the best in the business. I’ve invested in my education and expertise and do this full time – sometimes 10 hours a day. Set and forget is for amateurs, I’m invested in your success. I have the algorithm secrets you’ve always wondered about.

Lynne Miller

Lynne Miller International LLC

Related Reading

Is Your Content Being Read?

I was asked why content upgrades didn't work, and I wondered if the content was being read and if the reader made it to the bottom of the blog post to see the upgrade. Is your content being read? How can you tell? Scenario: You have the blog post written, and you just...

Is Your Content Being Read?

I was asked why content upgrades didn't work, and I wondered if the content was being read and if the reader made it to the bottom of the blog post to see the upgrade. Is your content being read? How can you tell? Scenario: You have the blog post written, and you just...

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Why Facebook Ads Stall

Have your Facebook™ Ads stalled or even stopped performing?

Find out what causes this, and how to fix it!

Check Your Inbox!

FREE MINI COURSE:
3 Things You Didn't Know You Could Do With The Facebook™ Pixel

 

Learn How to Fire the Pixel When Someone...

Clicks a Button  ⚆   Opens Your Email  ⚆  Signs Up for Your Opt-in

You have Successfully Subscribed!