How to Cloak Facebook Pixel to Run Conversion Campaigns for CPA Offers
top of page
  • Writer's pictureCLO-KING

How to Cloak Facebook Pixel to Run Conversion Campaigns for CPA Offers

Updated: May 11, 2023



Facebook is the largest social network in the world with 1.52 billion active monthly users. That's more than one-seventh of the world's population! This means that if you're not advertising on Facebook, you're missing out on a huge opportunity to reach your target audience.


Facebook Ads are one of the most effective ways to promote your offers. One of their best features is the conversion objective campaign which you can use to get Facebook’s algorithm to bid for conversions. In order to use this feature, you must have a thank you page with your conversion event installed. However, this is a problem affiliates face.


Most affiliates are unable to install their Facebook pixel on the Thank You Page of the offer they are promoting because they don’t have permission to download it from the affiliate network. Therefore, they lose out on the benefits of conversion objective campaigns. However, you can ask your manager to give you permission to download the offer page or to install the FB Pixel for you.


Today, I will give you a simple and tried solution so that you can take advantage of conversion objective campaigns. The solution is to cloak your Facebook pixel.


Why Do You Need to Cloak Your Facebook Pixel?


You need to cloak your Facebook pixel so that you can run conversion objective campaigns for your affiliate offer and see the conversions in your campaign’s dashboard. Also, cloaking your Facebook pixel will prevent your account from getting banned.

The cloaking process is very easy and I will explain it below.


How to Cloak Your Facebook Pixel?


Cloaking your Facebook Pixel is actually quite simple if you follow these steps:


1. Create a simple HTML page

2. Replace PIXEL-ID-REPLACE with your Facebook Pixel ID, which is usually a set of numbers.

3. Replace PIXEL-EVENT-REPLACE with the name of the event, such as “Leads”

4. Upload the file with the above code to your server, and name it thank-you.html



Now, whenever the above HTML page is loaded, the conversions will automatically appear on your Facebook campaigns dashboard.



If you have any questions, don't hesitate to contact us. Disclaimer:

All the shared tips and advice given to you in this blog are based on our judgments, results, and the information available at a particular point in time. We will not be responsible for the losses or gains made through these tips either legally or otherwise. You are advised to exercise the tips at your own risk. We shall also not be responsible for the failure of your ads for any reason.

288 views

Join our mailing list for offers and discounts!

Thanks for subscribing!

bottom of page