# Testing CPC Pixels

This article will walk you through how to test your CPC pixel.

* [Check Pixel Setup](#testingcpcpixels-checkpixelsetup)
* [Implement Import Click API on Funnel](#testingcpcpixels-implementimportclickapionfunnel)
* [Place a Test](#testingcpcpixels-placeatest)

***

### Check Pixel Setup <a href="#testingcpcpixels-checkpixelsetup" id="testingcpcpixels-checkpixelsetup"></a>

Before placing your first test, please ensure your pixel is setup properly by referring to [this article](/crm/crm-setup/affiliate-setup/affiliate-pixels.md). The affiliate must be added to the campaign that the traffic is running to and there should be a CPC pixel added into the Pixels section of the affiliate profile.

<figure><img src="/files/nX6yaB00NdFHwxRDdjPM" alt=""><figcaption></figcaption></figure>

Make sure the Pixel Content is correct, including proper use of the available pixel tokens.

### Implement Import Click API on Funnel <a href="#testingcpcpixels-implementimportclickapionfunnel" id="testingcpcpixels-implementimportclickapionfunnel"></a>

If you have not already, have your developer implement the [Import Click API ](https://apidocs.checkoutchamp.com/#e576c9e1-2606-49c2-8ac0-143a35c7add2)call on your funnel and follow our [Suggested API Flow](/api-documentation/api-documentation/recommended-api-flow.md) documentation.

The very first Import Click call made in the session will fire the CPC pixel.

{% hint style="warning" %}
To make the CPC pixel fire, the Import Click call must pass the requestUri **(containing the affId and passedValues)** as well as the **campaignId** that the pixel is configured for.
{% endhint %}

Here is an example of an Import Click call which fired a CPC pixel:

<figure><img src="/files/pZMmohWzA9En5xcnrOYy" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Pass the returned sessionId on all subsequent API calls for this customer’s session.
{% endhint %}

### Place a Test <a href="#testingcpcpixels-placeatest" id="testingcpcpixels-placeatest"></a>

Now that you have the CPC pixel added and Import Click is implemented on your pages - To test you can simply click on the test link for that affiliate. Once the page loads, check with your affiliate to see if they saw the pixel fire.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.checkoutchamp.com/crm/crm-setup/affiliate-setup/affiliate-pixels/testing-cpc-pixels.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
