# Device Data Collector Pixel (DDC Pixel)

This article provides instructions for installing the Device Data Collector pixel for both Fraud Manager and the Kount plugin.

This document assumes you have Fraud Manager or Kount enabled as a fraud protection plugin in your CheckoutChamp account. This document should only be used by those with landers that are using a direct API connect to CheckoutChamp. **If you are using CheckoutChamp hosted pages, the Device Data Collector pixel is automatically integrated.**

#### Option 1: Receive the DDC Pixel Via the Import Click API <a href="#devicedatacollectorpixel-ddcpixel-option1-receivetheddcpixelviatheimportclickapi" id="devicedatacollectorpixel-ddcpixel-option1-receivetheddcpixelviatheimportclickapi"></a>

[Import Click API](https://apidocs.checkoutchamp.com/#e576c9e1-2606-49c2-8ac0-143a35c7add2)

1\) Send the **fraudPixel=1** parameter when you call the [Import Click API](https://apidocs.checkoutchamp.com/#e576c9e1-2606-49c2-8ac0-143a35c7add2https://apidocs.checkoutchamp.com/#e576c9e1-2606-49c2-8ac0-143a35c7add2) from the Checkout Page (pageType=checkoutPage).

2\) The [Import Click API](https://apidocs.checkoutchamp.com/#e576c9e1-2606-49c2-8ac0-143a35c7add2) will return a Fraud Manager pixel. Decode the response and place the pixel on your page.

```html
// Example of an Import Click response
// The iframe pixel will be returned as part of the pixel parameter.
{"result":"SUCCESS","message":{"affVals":{},"pixel":"
<iframe width=1 height=1 frameborder=0 scrolling=no src='https:\/\/lp.checkoutchamp.com\/logos\/logo.htm?c=dev_test&s=f9e3eb14975b319afc10f0aa0ec8c813331c1f77'>
<img width=1 height=1 src='https:\/\/lp.checkoutchamp.com\/logos\/logo.gif?c=dev_test&s=f9e3eb14975b319afc10f0aa0ec8c813331c1f77'><\/iframe>"}}

// Example of code to put a pixel on your page
Var node = document.createElement(“DIV”);
Node.innerHTML = pixel;
Document.body.appendChild(node);
```

3\) Send the sessionId returned from the [Import Click API](https://apidocs.checkoutchamp.com/#e576c9e1-2606-49c2-8ac0-143a35c7add2) as the **sessionId** parameter to the [Import Order API](https://apidocs.checkoutchamp.com/#275a54c6-b4b0-414c-819b-7387e9a81f58).

#### Option 2: Put the DDC Pixel Straight on Your Checkout Page <a href="#devicedatacollectorpixel-ddcpixel-option2-puttheddcpixelstraightonyourcheckoutpage" id="devicedatacollectorpixel-ddcpixel-option2-puttheddcpixelstraightonyourcheckoutpage"></a>

1\) Add this iFrame to your checkout page.

```html
<iframe width=1 height=1 frameborder=0 scrolling=no src='https://lp.checkoutchamp.com/logos/logo.htm?c=######&s=%%%%%%'>
<img width=1 height=1 src='https://lp.checkoutchamp.com/logos/logo.gif?c=######&s=%%%%%%'>
</iframe>
```

2\) Replace both instances of ###### with your CheckoutChamp database name. **Contact CheckoutChamp customer support for the exact text. This might not be the same as your company name.**

3\) Replace both instances of %%%%%% with a session Id. If you have a session Id from a previous API call on this sale, use it. If you do not have an API session, generate a new session guid (32 char max) on your page.

4\) When calling the [Import Order API](https://apidocs.checkoutchamp.com/#275a54c6-b4b0-414c-819b-7387e9a81f58), you must send the same sessionId used for Fraud Manager/Kount as the sessionId parameter.

{% hint style="info" %}
Please reach out to CheckoutChamp support to acquire your CheckoutChamp database name.
{% endhint %}


---

# 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/plugins/fraud-services/device-data-collector-pixel-ddc-pixel.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.
