Get Started Get Started

Setting Up the OpenAI Ads Pixel and Conversion Tracking Manually

The OpenAI Ads Pixel is a tracking script used to measure visitor activity and conversions from your OpenAI ads. Conversion events allow OpenAI Ads to track actions on your website, such as lead form submissions, sign-ups, purchases, and other important interactions.

This article explains how to install the OpenAI Ads Pixel and configure conversion events directly in Oncord.

This method is quick and direct, and it suits websites that do not need e-commerce tracking. If you want to track e-commerce activity, set the pixel up with Google Tag Manager instead. See Setting Up the OpenAI Ads Pixel and Conversion Tracking via Google Tag Manager.

Before getting started, make sure you have set up your OpenAI Ads Manager account.

Setting Up the OpenAI Ads Pixel in Oncord

Copy the OpenAI Ads Pixel Code

  • Log in to your OpenAI Ads Manager account.
  • Go to Dashboard > Tools > Conversions > Data Source.
  • Click Create in the top right of the page.
  • Select Data Source.
  • Enter a meaningful name for your pixel, for example OpenAI Ads Pixel.
  • Click Create.

Your Pixel ID and setup code are displayed in a pop-up window.

  • Click Copy to copy the setup code.

Add the Pixel Code to Your Website Design

When code needs to appear across every page of your website, it belongs in your website design rather than on an individual page.

  • Go to Dashboard > Website > Designs.
  • Select the design you want to edit.
  • Click SOURCE in the left menu to open the design source code.
  • Paste the OpenAI Ads Pixel code just before the closing </head> tag.
  • Click Save in the top left corner of the screen.

Note: If your website uses more than one design, repeat these steps for each design you want to track.


Setting Up OpenAI Ads Conversion Tracking in Oncord

In most cases, a conversion is recorded after a visitor submits a form or completes a sign-up process. It is recommended to redirect visitors to a dedicated thank-you page after the action is completed, as this makes conversion tracking easier to configure.

In this example, the standard Lead conversion event will be used.

Create a Conversion Event in OpenAI Ads Manager

  • Go to Dashboard > Tools > Conversions > Conversion Events.
  • Click Create in the top right of the page.
  • Select Conversion event.
  • Under Data source, select the pixel you created earlier.
  • Under Base event, select Lead created.
  • A conversion name is filled in automatically, matching the base event. You can change it if you prefer.
  • Click Create.

The conversion event code is displayed in a pop-up window.

  • Click Copy to copy the code.

Add the Conversion Event Code to Your Thank-you Page

  • Open the editor for your thank-you page.
  • Click SOURCE in the left menu.
  • Open the JS tab.
  • Paste the OpenAI Ads conversion event code.
  • Click Save.