Skip to main content
Facebook Pixel
Andrej Janev avatar
Written by Andrej Janev
Updated over 6 months ago

This feature is only available on our Business Plan and higher.


Overview

The Facebook Pixel feature allows you to add your Facebook Pixel onto the pre-entry and post-entry pages of the promotion. This will allow you to track page views and leads attributed to your Facebook ads, or if you want to build custom audiences. This feature allows for a quick and easy way to add your Facebook Pixel, without having to touch any code. In addition, we support the Facebook Conversions API which is now recommended in order to properly track conversions.

1) Find your Facebook Pixel

To get your Facebook Pixel:

  1. Login to your Facebook account, then go to Events Manager.

  2. On the left hand side click Data Sources. You will see your Pixels listed on the left-hand side with their ID below them, or you can create a new Pixel.

2) Complete the Connection

When setting up your promotion in ViralSweep, go to:

  1. Integrations > Facebook Pixel.

  2. Input your Facebook Pixel ID.

  3. Decide if you want to enable lead tracking, which means a Lead event will be fired within Facebook when someone completes your form.

3) You're connected

Your Facebook Pixel is now connected to your campaign. We recommend using the Facebook Pixel Helper Tool to run tests to ensure it is working properly.

4) Enable the Conversions API - RECOMMENDED

The Facebook Conversions API works with your Facebook Pixel to help improve the performance and measurement of your Facebook ad campaigns. Due to recent browser changes in Safari, Chrome Incognito (and soon regular Chrome), Facebook Pixel will no longer function without using the Conversions API.

To get your Conversions API Access Token:

1. Login to your Facebook account, then go to Events Manager.

2.Click on Connect Data Sources > Web.

3. Name your pixel, input your website URL, and choose Conversions API and Meta Pixel.

4. Choose the option to Set up manually.

5. Click Continue in the lower right corner. Under Select Events, choose Technology > View Content and Lead.

6. Under Select Parameters choose the Lead Event and select the following:

  • Event Time

  • Event Name

  • Event Source URL

  • Action Source

  • Client IP Address

  • Client User Agent

  • First Name

  • Last Name

  • Phone

Next, click View Content and choose the following:

  • Event Time

  • Event Name

  • Event Source URL

  • Action Source

  • Client IP Address

  • Client User Agent

Review the setup looks correct and click Continue.
โ€‹

7. Click Continue Pixel setup which takes you back to the dashboard. Close the popup that may appear, and then click Complete Setup.

8. Click Get Started, and this will take you to the Generate Access Token Section. Click on the button to generate your access token. Copy the token.

Scroll to the very bottom of the page and click Finish.
โ€‹

9. Next, head over to ViralSweep, click Edit on your promotion and go to Integrations > Facebook Pixel. Paste the Token into ViralSweep under the Conversions API Access Token field. Add your Facebook Pixel ID as well if you have not done so already.

10. Finally, we need to test sending an entry or two into your promotion to ensure it is sending events to Facebook. Simply visit your promotion in a new browser (like Incognito or Private Browsing mode) and enter the promotion by submitting the form.

11. Facebook has a reporting delay, so the complete setup screen may display on your pixel for a while (up to an hour or more in some cases). Periodically revisit the pixel page and refresh it multiple times until you finally see a screen like this:

12. It will then take a little while longer (in some cases over an hour) but the events will finally show up, so keep checking back. Once they show up, it will look like this:

That's it! The Facebook Conversions API is now setup. Once people start visiting and entering your promotion, the data will get passed to the Conversions API.


We're here to help

If you have any further questions, please start a Chat. Just "Click" on the chat icon in the lower right corner to talk with our support team.

Did this answer your question?