Skip to main content
Skip table of contents

Install tracking pixels on a website

This page explains how to install tracking pixels on your website.

  1. Select your integration platform from the Ecommerce Platform dropdown. If you integrate with Shopify, see Install tracking pixels on a website with Shopify integration .

    Screenshot of Step 2 of the pixel installation workflow. There is a callout pointing to the  ECommerce platform dropdown and the None option is selected.
  2. Select the conversion events you want to create tracking pixels for. The Universal site pixel is included automatically. 

image-20240919-180918.png
  1. If you’re integrating with Google Analytics, select I am using Google Analytics 4 (GA4), enter your GA Measurement ID and GA4 API Key and click Save. Refer to Google Analytics 4 (GA4) Integration for further instructions.

  2. Expand Step 3: Install Tracking Code. For each conversion event, the required code snippet is displayed along with a description of where to paste it on your website.
    EXAMPLE

    Screenshot of Step 3 of the pixel installation process focused on the text explaining where the code snippet should be installed on your webiste.
  3. Below each pixel, click Copy Snippet, then paste the code into a separate document (e.g., Google Doc, Word document, Notepad). 

    Screenshot of Step 3 of the pixel installation workflow with a callout around the link you click to copy the code snippet.

When you copy a snippet from Peacock Ad Manager, your correct advertiser ID is automatically included.

Known Issue Don’t click Share via Email to copy code snippets. This option inserts extraneous spaces into the code, which cause the code to work incorrectly. If you need to share code snippets via email, use Copy Snippet and paste the code into a .txt file before emailing.

  1. After all required snippets are in your document, open the HTML of your website and paste each snippet into the required location. 

  2. Perform end-to-end pixel testing to verify that your tracking pixels are working as expected. See End-to-end QA testing for instructions. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.