Get Started Get Started

Meta Pixel

The Meta Pixel is a piece of code that you place on your website, enabling you to measure the effectiveness of your advertising by understanding the actions people take on your website.

Before setting up the Meta Pixel, you need to visit https://business.facebook.com/ to prepare your Meta Business Manager account. Here, you can create your Meta Business Account and Ads Account.

Install Meta Pixel into Oncord

Once you've completed the Meta Business Manager, Meta Business Account, and Ads Account setup, it's time to install your Meta Pixel on your website.

After creating a meta Pixel, there are two common methods for installing a Meta Pixel on an Oncord website: 

  • Method one: Add the Meta Pixel to your Website Design.
  • Method two: Install the Meta Pixel through Google Tag Manager (GTM)

Create Meta Pixel

  • Sign in to your Meta Business Manager.
  • Go to "Event Manger" via Dashboard > All Tools.
  • Click " Connect Data Source" in the left-hand menu.
  • Select the "Web" option in the pop-up menu.
  • Enter a name for your pixel and click "Create pixel". This will create a new ID that you can view in Events Manager.

  • Enter your Oncord website URL, and then click "Next".
  • Select "Do it yourself" and then click "Next".
  • Select "Meta Pixel Only" and then click "Next".
  • Click the "Install Code Manually" button.
  • In the "Set up a new pixel" page, click the "Copy code" button.

Method 1: Add the Meta Pixel to all Pages (Within your Design)

When embed code needs to appear on all pages throughout your website, it should be added to your website design theme. 

  • Go to your Oncord website and edit the website design (Dashboard > Website > Designs, select the design to edit).
  • Click "SOURCE" in the left menu to view the source code of your website design.
  • Paste the code just before the closing </head> tag.
  • Click the "Save" button located at the top left of the screen.
  • Go back to the Meta "Set up a new pixel" page, click "Continue".
  • Turn on/off "Automatic Advanced Matching" based on your needs, and then click "Continue".

It should take up to 24 hours for Meta to start data collection.

Method 2: Install the Meta Pixel through Google Tag Manager (GTM)

You can also configure the Meta Pixel through Google Tag Manager (GTM).

Tips: It's recommended to use GTM to manage and configure your tags. To know more details about setting up GTM, please check out our help article: Setting Up Google Tag Manager with Oncord.

  • Sign in to your GTM account.
  • Click the container name that you want to configure.
  • Within "Workspace", click the "Tags" tab in the left-hand column.
  • Click the "New" button to create a new tag.
  • Rename the new tag as "Meta Pixel", and then click the "Tag Configuration" box.
  • Select the "Custom HTML Tag" option from the right-hand list.
  • Paste the Meta Pixel into the text box. 
  • Scroll down and click the "Triggering" box to configure a trigger for this tag.
  • Select the "All Pages" option from the list.
  • Click the "Save" button at the top-right of the page.

Note: Please don't forget to click the "Submit" button to publish the latest changes.