Share this post and enter to win 1 on 1 consulting worth $2000!

This is an advanced guide, if you are new to affiliate marketing / internet marketing – this is not for you and will be very confusing.   This guide is also for Facebook Ads and covers advanced technique used in order to help build custom audiences, and better targeting techniques for paid advertising campaigns on Facebook.

Let’s say you are running a campaign,  diet, skin, lead gen, app installs, pin submits, eCommerce, whatever; and you want to optimize for people who came to your landing page, and then clicked the link to fill out the offer.

Wouldn’t it be great if you could optimize based on everyone who actually clicked (thus is more likely to convert) vs everyone who visited the page, many of whom then bounced from there?

There’s a way, and it’s done by using a little javascript and assigning custom functionalities to your links/buttons.

Step #1 – Grab the Facebook Pixel Code from the Ad Manager front end.  If you don’t know how to do that, read this guide from FB.

Here’s my ORIGINAL code I got from Facebook:

Step #2 – We need to add a custom javascript function that will “FIRE” the facebook conversion pixel.  Here’s the code we must add to the default Facebook pixel:

After we are done, we must paste the modified Facebook Conversion Pixel code between our <head> </head> section on our website; it should look like this:

NOTE: You must replace the 1150734851629733 with your own pixel ID!

Step #3 – Next, we need to add some code snippets to all of our links in our landing page/and or buttons as follows

For text links:

For a button:

For a link styled to look like a button:

Now when you setup your Facebook Ad Campaign, make sure to select Optimize for ADD TO CART; because everytime someone clicks a link on your landing page; it will fire the pixel and you want clickers, not people who just come to the lander, then leave right away.

Share this post and enter to win 1 on 1 consulting worth $2000!