Facebook Pixel Configuration

What is Facebook Pixel?

Facebook pixel is an analytics tool that consists of a code that you can put on your website. The pixel fires to track site visitors. This data allows you to retarget those users with Facebook ads in the future, as well as see what they're doing on your site when they return.

Facebook and Security

In order to integrate Facebook tracking in a safe, responsible manner, you can use Google Tag Manager (a third-party application platform) to set-up, configure, and track analytics.

Facebook Pixel

These instructions presume you already have your Facebook accounts and Pixel setting configurations complete.

Create a Google Tag account

  1. Visit the Google Tag Manager site and begin creating a new account if your department doesn't have one already.
  2. Provide:
    • an Account name
    • a Container name
    • Select the Target Platform: Web option
  3. Click the Create button to continue.
  4. Agree to the conditions to complete the process.

Include Facebook Pixel in your Google Tag Account

Facebook's developer solutions has created a write-up for implementing this feature in Google Tag titled Learn how to add Facebook pixel with Google Tag Manager.

Connect Google Tag Manager to your SiteFarm site

If you have the Site Builder role you can enable the Google Tag Manager module yourself by navigating to Manage » Extend and searching the list for 'google tag manager'. If you don't have this role, please submit the Service Request Form and ask the SiteFarm team to do it for you.

Configure your Google Tag Manager
  1. Navigate to Manage » Configuration » Systems » Google Tag Manager.
  2. Click the + Add Container button.
  3. Provide a label name for the new container.
  4. Provide the Container ID based on the ID generated when you created your Google Tag container for your third-party service.
    Location of the Google Tag Manager ID information.
    Your GTM ID can be found in your Tag Manager account.

    Screenshot illustrating the location of the label and container ID fields.
  5. Click the Save button to finish.