UniPixel Documentation

Meta/Facebook

Facebook requires setup to start tracking events. To ensure that UniPixel operates effectively and provides accurate tracking and conversion data to Facebook, please follow these steps:

1. In Facebook, Set Up Facebook Pixel and Conversion API

Step-by-Step Guide:

  1. Create a Facebook Pixel:
    • Log in to your Facebook Business Manager.
    • Navigate to Events Manager.
    • Click on Pixels and then Add to create a new pixel.
    • Follow the instructions to set up the pixel on your website.
  2. Generate Access Token for Conversion API:
    • In the Events Manager, go to Settings.
    • Scroll down to Conversions API and click on Generate Access Token.
    • Copy the access token; you will need it for the UniPixel setup.
  3. Configure Web Events:
    • In the Events Manager, go to Aggregated Event Measurement.
    • Click on Configure Web Events.
    • Add your domain and verify it if not already verified.
    • Set up the necessary events that you want to track and prioritize them according to your business needs.

2. Install and Configure UniPixel

Step-by-Step Guide:

  1. Install UniPixel Plugin:
    • Find and install UniPixel via the WordPress Plugins area, activate the plugin.
    • OR, If downloading the plugin .zip file, upload and activate the plugin in your WordPress admin dashboard.
  2. Configure UniPixel Settings:
    • Navigate to UniPixel > Meta Pixel Setup in your WordPress admin dashboard.
    • Enter your Facebook Pixel ID.
    • Enter the Conversion API Access Token you generated earlier.
    • Configure the events you want to track and configure them according to your needs.

Reliable Tracking of Interactions and Conversions

UniPixel is designed with the best practices to ensure accurate event tracking and conversion measurement. Here’s how UniPixel supports these features:

Deduplication

  • Event IDs: UniPixel uses unique event IDs for each event to ensure that events are not counted multiple times. This is achieved by sending the same event ID from both the client-side (via the Facebook Pixel) and the server-side (via the Conversion API).

Cookie Tracking

  • _fbp Cookie: UniPixel sets and utilizes the _fbp cookie to store a unique identifier for each user’s browser session. This helps Facebook recognize returning visitors.
  • _fbc Cookie: When a user clicks on a Facebook ad and lands on your website, the fbclid parameter is captured and stored in the _fbc cookie. This allows Facebook to attribute conversions back to the specific ad that generated the visit.

Comprehensive Event Data

  • Automatic Data Collection: UniPixel automatically collects and sends various pieces of information to Facebook, including IP address, browser information, device information, page URL, referrer URL, and more.
  • Custom Event Data: Users can also configure custom event data to be sent along with standard events, providing more granular tracking and insights.

Setup Confirmation

To ensure that UniPixel is properly set up and functioning, verify the following:

  1. Check logs in UniPixel:
    • View the log feedback on what events have been fired, and what the response status is for the server side sending of the event.
  2. Add a chrome extension to debug (optional):
  3. Event Tracking:
    • Use Facebook’s Event Manager to check if the events are being tracked correctly.
    • Verify that the events are being deduplicated, ensuring that there are no double counts.
  4. Conversion Tracking:
    • Confirm that conversions are being attributed correctly to the original Facebook ads using the _fbc cookie and fbclid parameter.