> For the complete documentation index, see [llms.txt](https://help.checkoutchamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.checkoutchamp.com/crm/crm-setup/affiliate-setup/affiliate-pixels/testing-cpc-pixels.md).

# 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.
