> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eykdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OpenAI Ads destination

> Conversion tracking

<Note>
  The OpenAI Ads destination is only available on Eyk's new tracking setup, which is currently in beta. Ask your Eyk contact person for access.
</Note>

The OpenAI Ads destination in Eyk sends both client-side and server-side event data to OpenAI Ads, so you can measure and optimise campaigns that run in ChatGPT.

## Before you start

You need:

* Access to the [OpenAI Ads Manager](https://ads.openai.com/) for your account.
* The beta tracking setup enabled in your Eyk environment.

Setup has two parts. First you create a data source and a conversion key in OpenAI Ads Manager. Then you enter both in Eyk.

## Part 1: Get your credentials from OpenAI

<Steps>
  <Step title="Open Conversions">
    Go to [OpenAI Ads Manager](https://ads.openai.com/) and navigate to **Tools** >> **Conversions**.
  </Step>

  <Step title="Create a data source">
    Click **+ Create** in the top-right corner and select **Data Source**.

    <Frame>
      <img src="https://mintcdn.com/eyk-data/ahk3vfVfyAxbduhB/images/destinations/openai/01-create-data-source-menu.png?fit=max&auto=format&n=ahk3vfVfyAxbduhB&q=85&s=048f11bca01e4e774efdaf61c6f936c4" alt="Create menu with the Data Source option in OpenAI Ads Manager" width="2680" height="1536" data-path="images/destinations/openai/01-create-data-source-menu.png" />
    </Frame>
  </Step>

  <Step title="Name the data source">
    For **Data Source Name** enter `Eyk Pixel`. Keep **Type** set to **Web** and click **Create**.

    <Frame>
      <img src="https://mintcdn.com/eyk-data/ahk3vfVfyAxbduhB/images/destinations/openai/02-create-new-data-source.png?fit=max&auto=format&n=ahk3vfVfyAxbduhB&q=85&s=b7e636852b87f4058baa5c3739a6150b" alt="Create new data source dialog" width="2680" height="1536" data-path="images/destinations/openai/02-create-new-data-source.png" />
    </Frame>
  </Step>

  <Step title="Copy the data source ID">
    The **Copy data source** screen opens. Copy the **ID** at the top — you'll need this in Eyk. Ignore the setup code and click **Confirm**.

    <Info>
      You don't need to install the setup code on your website. Eyk's tracking sends the events for you.
    </Info>

    <Frame>
      <img src="https://mintcdn.com/eyk-data/ahk3vfVfyAxbduhB/images/destinations/openai/03-copy-data-source-id.png?fit=max&auto=format&n=ahk3vfVfyAxbduhB&q=85&s=82138e93647709a5dc1a3bb3769603b8" alt="Data source ID on the Copy data source screen" width="2680" height="1536" data-path="images/destinations/openai/03-copy-data-source-id.png" />
    </Frame>
  </Step>

  <Step title="Create a conversion key">
    Back on the **Conversions** page, click **Manage conversion keys** and select **+ Create new key**.

    <Frame>
      <img src="https://mintcdn.com/eyk-data/ahk3vfVfyAxbduhB/images/destinations/openai/04-create-new-conversion-key.png?fit=max&auto=format&n=ahk3vfVfyAxbduhB&q=85&s=099ff5f6944b2869e3ae50ee66e231d3" alt="Manage conversion keys menu with the Create new key button" width="2680" height="1536" data-path="images/destinations/openai/04-create-new-conversion-key.png" />
    </Frame>
  </Step>

  <Step title="Name the conversion key">
    For **Name** enter `Eyk` and click **Create**.

    <Frame>
      <img src="https://mintcdn.com/eyk-data/ahk3vfVfyAxbduhB/images/destinations/openai/05-conversion-key-name.png?fit=max&auto=format&n=ahk3vfVfyAxbduhB&q=85&s=6bec009e4f00517e01fc0928e54229ba" alt="Create new conversion key dialog" width="2680" height="1536" data-path="images/destinations/openai/05-conversion-key-name.png" />
    </Frame>
  </Step>

  <Step title="Save the key">
    On the **Save your key** screen, click **Copy** and store the key somewhere safe — you'll need it in Eyk.

    <Warning>
      OpenAI shows this key only once. If you lose it, create a new key.
    </Warning>

    <Frame>
      <img src="https://mintcdn.com/eyk-data/ahk3vfVfyAxbduhB/images/destinations/openai/06-save-your-key.png?fit=max&auto=format&n=ahk3vfVfyAxbduhB&q=85&s=ec8ef31ebdcf7cbeacd28d47bb449dca" alt="Save your key screen" width="2680" height="1536" data-path="images/destinations/openai/06-save-your-key.png" />
    </Frame>
  </Step>
</Steps>

## Part 2: Add the destination in Eyk

<Steps>
  <Step title="Add a destination">
    In your Eyk environment, go to **Tracking** and click the **+ Add destination** button.
  </Step>

  <Step title="Select OpenAI Ads">
    Select **OpenAI Ads** from the list of destinations.
  </Step>

  <Step title="Enter your credentials">
    Enter the **Data source ID** from step 4 and the **Conversion API key** from step 7, then click **Start verification**.
  </Step>
</Steps>

All done! ✅

<Warning>
  Once you publish this destination, you should pause or remove all existing OpenAI Ads tracking. Leaving these on will lead to duplicate tracking.
</Warning>

## Check that events arrive

In OpenAI Ads Manager, go to **Tools** >> **Conversions** and open the **Event Stream** tab. Events from Eyk appear here shortly after visitors trigger them on your website.
