Facebook Pixel Tracking for Leads & Registrants

If you are interested in firing Lead and Registered Events to your Facebook Pixel you can do so by firing the events using our Widget Embed API.  Please keep in mind that this only works for widgets 2.0.

Also keep in mind that a lead in WebinarFuel is someone that did not complete registration and the most common use case in Facebook is a Lead is someone that does complete an action

Using Facebook's Standard Event's you can setup the following flow:

Step 1: Make sure you have your Facebook Pixel placed directly on your own landing/optin page directly either via the footer or header.

Step 2: Alter the embed code to invoke our API

You then want to modify your embed code using the examples below:

Lead Event - gave their email but did not complete the registration (happens in a 2 step scenario)

<script src="https://d3pw37i36t41cq.cloudfront.net/embed_v2.js" async></script>
<div class="wf_target wf_target_y1T579oayyv2r3apgsgEspw"></div>
<script>
  window._wf = window._wf || [];
  _wf.push({ id: 'y91T579oayyv2r3apgsgEspw', onReady: function(api) {
    api.onLeadSubmit(function() {
      fbq('track', 'InitiateCheckout')
    })
  } });
</script>

Registered Event - registered for the actual webinar

<script src="https://d3pw37i36t41cq.cloudfront.net/embed_v2.js" async></script>
<div class="wf_target wf_target_y1T579oayyv2r3apgsgEspw"></div>
<script>
  window._wf = window._wf || [];
  _wf.push({ id: 'y1T579oayyv2r3apgsgEspw', onReady: function(api) {
    api.onSubmit(function() {
      fbq('track', 'Lead')
    })
  } });
</script>

Both (for those using a two step)

<script src="https://d3pw37i36t41cq.cloudfront.net/embed_v2.js" async></script>
<div class="wf_target wf_target_y1T579oayyv2r3apgsgEspw"></div>
<script>
  window._wf = window._wf || [];
  _wf.push({ id: 'y1T579oayyv2r3apgsgEspw', onReady: function(api) {
    api.onLeadSubmit(function() {
      fbq('track', 'InitiateCheckout')
    })

    api.onSubmit(function() {
      fbq('track', 'Lead')
    })
  } });
</script>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us