Set Up Install Meta Pixel | Franchise Ninja

How do I set up and install the Meta Pixel?

How do I set up and install the Meta Pixel?

Overview

The Meta Pixel is a powerful tracking tool that helps you measure website activity, optimize ad performance, and build more effective audiences for your campaigns.

Setting up a pixel involves 2 steps:
  1. Create your pixel and set up the base code on your website. You can use a partner integration, if available, or add code manually to your website.
  2. Set up events on your website to measure actions like making a purchase. You can use a partner integration, the point-and-click event setup tool, or add code manually to your website.
There are several options for how to set up your pixel and events, and you’ll be guided through the available options during setup. If you set up your pixel or events manually, you may need a developer's help to add the code to your website.

If you share events with Meta using your pixel, we recommend using the Conversions API too. The Conversions API helps improve the performance and measurement of your Meta ad campaigns by working with your Meta Pixel. Learn more about the Conversions API and how it works.

Prerequisites
  1. You need a business website.
  2. You or your developer must be able to update your website's code for manual pixel setup using code.
Set up the Meta Pixel and events on your website
  1. Go to Meta Events Manager.
  2. Click Connect data and select Web.
  3. Click Connect.
  4. Enter a name for your pixel, then click Create pixel. This creates a new ID, viewable in Events Manager.
    1. Note: Events from your Meta Pixel are shared to a dataset, which groups events from different sources. Your new dataset ID is the same as your new pixel ID.
    2. Learn more about datasets.
  5. Your next steps depend on if you have a website or not:
    1. If you have a website, enter your website URL to check for easy partner integration setup options and click Check.
      1. If a partner integration is available to you, you’ll see it on the screen. Click Next and follow the onscreen instructions to set up your pixel and events through your partner’s website.
    2. If a partner integration is not available, click Next.
    3. If you don’t have a website, click to check the box next to I don't have a website and click Continue.
  6. Select how you would like to connect your data with Meta: Get guidance (recommended) or Do it yourself.
    1. Select Get guidance if you would like setup recommendations. You can skip the rest of the instructions in this article if you select this option, and you can follow the onscreen instructions in Events Manager instead.
    2. Select Do it yourself if you already know how you’d like to connect your data and don’t want setup recommendations. If you select this option, follow the rest of the instructions in this article.
  7. Select Conversions API and Meta Pixel or Meta Pixel only as your setup option, then click Next.
    1. If you select Conversions API and Meta Pixel, choose how you want to set up the Conversions API and pixel: Set up with partner integration, Set up with Conversions API Gateway or Set up manually. If you’re not sure which option to choose, you can compare Conversions API setup options by cost and complexity.
      1. If you select Set up with partner integration, select your partner and follow the ons-creen instructions to set up the pixel, Conversions API and events.
      2. If you select Set up with Conversions API Gateway, follow the onscreen instructions to set up the pixel, Conversions API Gateway and events.
      3. If you select Set up manually, follow the on-screen instructions to create personalized instructions to set up the pixel, Conversions API and events. On the last screen, you’ll have the option to set up the Conversions API yourself using the personalized instructions or send the instructions to a developer. If you need help creating the instructions, you can learn how to set up the Conversions API using personalized instructions.
    2. If you select Meta Pixel only, choose how you want to set up your pixel code: Install code manually or Check for partner. If you have a developer who will set up your pixel for you, you can click Email instructions instead.
Install the code manually
  1. Copy the pixel base code.
  2. Find the header of your website or locate the header template in your CMS or web platform.
  3. Paste the base code at the bottom of the header section, just above the closing head (</head>) tag, on every page of your website. Your ID will be included in your base code, and you can use one ID across your whole website.



  4. Click Continue.
  5. Optional: Toggle on Automatic advanced matching and verify the customer information you want to send.
  6. Click Continue.
  7. Add events using the event setup tool or by manually adding code to your website.
    1. To use the event setup tool: Click Open event setup tool and follow the onscreen instructions to add events and parameters without the need for additional coding. If you need additional help, learn how to use the event setup tool.
    2. To use manual setup: Click Install events using code to learn how to set up the Meta Pixel using code.

    • Related Articles

    • Meta - How to create a custom audience

      Meta: Custom Audience Creation 1. Go to Audiences In the left menu, click All Tools → Audiences (or go directly to Meta Audiences Manager). 2. Create Audience Click the Create Audience button. Select Custom Audience. 3. Choose Your Source You’ll get ...
    • What type of Meta campaign should I use to get the most out of Franchise Ninja?

      What type of Meta campaign should I use to get the most out of Franchise Ninja? Overview When running Meta (Facebook + Instagram) advertising to support Franchise Ninja, the Traffic campaign objective should be your primary choice. Traffic ads are ...
    • How to Create Custom Audiences in Facebook

      A custom audience is an ad targeting option that lets you find your existing audiences among people across Meta technologies. Before you begin: You must be the owner of the ad account connected to a business portfolio, or have admin or advertiser ...
    • Meta Ads Key Metrics Explained

      Meta Ads Metrics: A Complete Guide Overview This article explains the most commonly used performance metrics in Meta Ads Manager. Understanding these terms will help you analyze results, optimize campaigns, and make informed decisions. ? Bid ...
    • What is a Custom Audience?

      What is a Custom Audience? Overview A Custom Audience is a group of individuals that you can target with advertising based on specific data sources or behavioral signals. Within Franchise Ninja, Custom Audiences allow you to deliver highly targeted ...