To track registrant activity you can add the Facebook pixel ID to an eWebinar or use the Scripts manager to add your own Facebook pixel tracking script.
We will cover all the topics related to the Facebook pixel. Click below to skip to whichever section is most relevant to you:- Easily track attendees using the Facebook pixel
- Use a custom Facebook tracking script
- How do I use the Script manager to verify my eWebinar subdomain with Facebook?
Easily track attendees using the Facebook pixel
The easiest way to track registrants is to add the Facebook pixel to the Scripts & pixels section of the Registration tab when editing an eWebinar. Enter the pixel ID into the Facebook pixel input box and republish your webinar.
Custom events
eWebinar will call trackCustom on the pixel to send you custom events when an attendee performs different actions. The custom events are:
- Visit Registration - New potential registrant visits the registration page.
- Open Registration Form - Registrant opens the registration form
- CompleteRegistration - This is a standard Facebook pixel event sent when registrant completes the registration form
NOTE: The CompleteRegistration event is not called from the Thank You page. There are cases when the Thank You page can be skipped such as for On Demand just in time sessions. The event is always fired from the Registration Form prior to navigating to the thank you page.
- Joined Session - Registrant joins a scheduled session or replay
Page views
eWebinar will call pageView on the pixel for each of the pages an attendee visits. You can use the URLs to track what they've done. Note however, that these URLs can take different forms and will have the webinar slug plus ID in the URL. You can look for patterns in the URL however. Here are some useful patterns:
Room | URL contains | Example |
Presentation room for scheduled session | /join/ | https://ilove.ewebinar.com/webinar/150/join/662421 |
Presentation room for replay session | /replay/ | https://ilove.ewebinar.com/webinar/150/replay/662421 |
Thank you page |
/thankyou/ | https://ilove.ewebinar.com/webinar/15-minute-ewebinar-walkthrough-and-demo-150/register/thankyou/662421 |
Registration page |
/webinar/ AND doesn't match any of the patterns above |
https://ilove.ewebinar.com/webinar/15-minute-ewebinar-walkthrough-and-demo-150 |
Use a custom Facebook tracking script
You don't have to use eWebinar's built-in support for the Facebook pixel ID. You can also add a script either in the Scripts & pixels section of the Registration tab or by going to the Scripts manager Follow these steps:
- From the Scripts manager click Add new script.
- Name this script, for example: Facebook script
- Copy/paste the script code from Facebook into this new script in the edit box that has a numbered line 1
- You can choose to not run this script and not track attendees if you have GDPR enabled and the attendee chose to not accept your cookies by turning on the switch named Disable script if visitor declines GDPR cookies
- Click Next
- Here you see all your webinars. You can choose on which pages to run this script. You can run it on the Registration page, the Thank you page and the Presentation room (which encompasses both replay and scheduled sessions)
- Click Save & publish - your script will be live immediately
NOTE: You may need to refresh the registration page a couple of times to see the newly published page with the script
How do I use the Script manager to verify my eWebinar subdomain with Facebook?
Facebook now requires you verify your domain (or subdomain) in order to be able to effectively track Facebook pixels in those pages. Using eWebinar's Script manager you can verify your subdomain with Facebook by adding a <meta>
tag to your subdomain's home page. In order to do that you need to take a few steps:
1. Select a subdomain to use for your eWebinars
Most people select a subdomain for the webinars when they sign up. If you haven't already done so or want to review the subdomain you selected go to My profile. There you will find a subdomain where you can enter the subdomain you'd like to have. This subdomain must not have any special characters or spaces although dash is allowed. If you choose ilove, for example, your eWebinar subdomain will be https://ilove.ewebinar.com
This page will have a list of all the published webinars you haven't marked as "Don't share." All of the webinars you publish will begin with that URL as well.
2. In Facebook find the <meta> tag to add to your subdomain home page
In Facebook, you need to add a domain to the list of domains you own. In our case we would type in ilove.ewebinar.com and get the meta tag they want us to place inside the <head> section of the page at https://ilove.ewebinar.com
3. Add the <meta> tag to the eWebinar Scripts manager
To do this first click the Add new script button. In the dialog that pops you can:
- Name this script.
- Paste the <meta.... /> code from Facebook into the box that starts with the line number 1.
- Click on Only use in my eWebinar subdomain home page as shown below
4. Go back to Facebook and verify
Once you click on Save & publish you should be ready to go back to Facebook and have it verify you own that domain.