Go to your Facebook Ad Manager

For this you'll need an active facebook business page. For those who already have a page, go here to create your facebook pixel. If you don't already have a business page, go here to create one. Once you've done that, click the first link.

Create your Facebook pixel

Copy the Facebook pixel code.

In your admin panel, go to Settings > AgentFire Settings > Header/Footer Scripts & Metas

Here's the actual link if you want to just type it in once you're signed into your site: yoururl.com/wp-admin/admin.php?page=scripts-metas

Paste the code in the "Facebook Pixel" section and hit "Update"

Edit The Code

Normally in the pixel there is only: fbq('track', 'PageView');

Copy and paste the below where the above code is, replacing the original "PageView" piece of code, with the below piece of code which is tracking "ViewContent". This is to ensure all of your ad campaigns run smoothly.

fbq('track', 'PageView');
fbq('track', 'ViewContent');
</script>

Congratulations. You did it! :)

Did this answer your question?