Skip to main content

Using Facebook pixels in BDOW!

Track views, subscribes, and clicks on your BDOW! forms, then retarget those people on Facebook.

Written by Cassandra Campbell

BDOW! supports all forms of Tracking Pixels, and a popular one is Facebook. You can use the Pixel to track actions that occur within BDOW!, such as a click or subscribe. You can then optimize and retarget your Pixel as needed to better target your audience and optimize your subscriptions.

Facebook pixel official documentation

This document assumes you already have a Facebook account with your website setup. If not, you should get started. :)

For an in depth understanding of Facebook Pixels please review them at Facebook's Pixel Documentation site.

Creating your Facebook pixel code

Here is what the Base code you can start with will look like, which we've taken from the Facebook Pixel Manager page:

<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '{your-pixel-id-goes-here}');
fbq('track', 'PageView');
</script>
<noscript>
<img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id={your-pixel-id-goes-here}&ev=PageView&noscript=1"/>
</noscript>
<!-- End Facebook Pixel Code -->

Once you add the Base code, you will want to add in the Event Code that you'd like. You can either add a Standard Event or Custom Event:

Standard: fbq('track', 'ViewContent');

...
fbq('init', '{your-pixel-id-goes-here}');
fbq('track', 'PageView');
</script>
...

Custom: fbq('trackCustom', 'ShareDiscount', {promotion: 'share_discount_10%'});

...
fbq('init', '{your-pixel-id-goes-here}');
fbq('trackCustom', 'ShareDiscount', {promotion: 'share_discount_10%'});
</script>
...

Read more about the Standard and Custom Events here.

Adding your Facebook Pixel code to campaigns

In the design tool, edit a campaign and navigate to the Success tab. In the Subscribers pane, you'll find Conversion Pixels split into three categories: Tracking Pixels, Subscribe Pixels and Click Pixels.

  • Tracking Pixels: This is where you'll put your Facebook Pixel code if you want it to fire when the user is shown the popup on your website.

  • Subscribe Pixels: This is where you'll put your Facebook Pixel code if you want it to fire when the user has made an email submission on your popup. It won't fire if your popup has a Call to Action button that the visitor clicked on.

  • Click Pixels: This is where you'll put your Conversion Pixel code if you want it to fire when the user has clicked on a Call to Action button in your popup. If you have multiple Call to Action buttons, it will only fire on the first one clicked.

You can choose one or more pixel categories, according to the needs of the particular campaign. Just make sure to publish your changes to activate them.

Did this answer your question?