# Eskimi Conversion Pixel



# Conversion Tracking

Conversion tracking shows what happens after a user clicks your Eskimi ad: whether they bought something, signed up, filled in a form or installed your app. By tracking conversions you can see which campaigns, creatives, sites and apps bring results, and optimise towards them.

### Ways to Track Conversions

Eskimi DSP offers three ways to track conversions, depending on where the conversion happens:

<table id="bkmrk-where-the-conversion"><thead><tr><th>Where the conversion happens</th><th>Method</th><th>How it works</th></tr></thead><tbody><tr><td>Website</td><td>Eskimi conversion pixel</td><td>A small piece of code placed on the page or action you want to count, e.g. the purchase confirmation page or a sign-up button. When a user who clicked your ad completes the action, the pixel fires and the conversion is recorded.</td></tr><tr><td>Your own server, CRM or app backend</td><td>S2S (server-to-server) postback</td><td>Eskimi adds a unique click ID to the landing page URL. Your system stores it and sends it back to Eskimi when the conversion happens.</td></tr><tr><td>Mobile app (installs and in-app events)</td><td>Mobile measurement partner (e.g. AppsFlyer, Adjust)</td><td>The partner attributes installs and in-app events to Eskimi clicks and sends them to Eskimi DSP.</td></tr></tbody></table>

### Main and Custom Conversions

You can track one main conversion and several custom conversions, for example "purchase" as the main conversion and "add to cart" or "newsletter sign-up" as custom ones. All of them appear in reports. Auto-optimisation (CPA) works on the main conversion only.

<p class="callout info">CPA auto-optimisation needs the Eskimi conversion pixel (or an S2S postback) to be in place before the campaign starts, so the system has conversion data to learn from.</p>

### Where to Find the Setup Guides

- [Eskimi Tracking Pixel - Introduction &amp; Implementation](https://manual.eskimi.com/books/eskimi-pixels/page/eskimi-tracking-pixel-introduction-implementation)
- [s2s (Server to Server) Tracking](https://manual.eskimi.com/books/eskimi-pixels/page/s2s-server-to-server-tracking)
- [Mobile measurement partners &amp; Eskimi](https://manual.eskimi.com/books/mobile-measurement-platforms/page/mobile-measurement-partners-eskimi)
- [Troubleshooting Eskimi Tracking &amp; Conversion Pixels](https://manual.eskimi.com/books/eskimi-pixels/page/troubleshooting-eskimi-tracking-conversion-pixels)

### Summary

Track website conversions with the Eskimi conversion pixel, conversions in your own systems with an S2S postback, and app installs and in-app events through a mobile measurement partner. Conversions then show in Eskimi DSP reports by campaign, creative, site and app.

Set up tracking before launch, and choose the main conversion carefully: it is the one CPA auto-optimisation works on.

# Simplified Conversion Pixel Implementation

*This article is dedicated to users and developers who have to implement the tracking pixel to the website.*

*<span class="wysiwyg-underline">Disclaimer: all example codes are used from a testing account.</span>*

1. Firstly obtain the base pixel code.
    
    Login to your account, and access the " Tracking Pixels " section.
    
    [![image-1661858823751.png](https://manual.eskimi.com/uploads/images/gallery/2022-08/scaled-1680-/HbOVxakDdnRdVZ6r-image-1661858823751.png)](https://manual.eskimi.com/uploads/images/gallery/2022-08/HbOVxakDdnRdVZ6r-image-1661858823751.png)
2. Customize your tracking code. For this example, we want to track conversions of a specific campaign.
    
    
    - Tick the "Campaign" checkbox, and select the appropriate campaign.
    - Tick the "Conversion" checkbox.
    
    Now your base pixel code should look like this (see image below):
    
    [![Screen Shot 2023-01-04 at 17.21.47.png](https://manual.eskimi.com/uploads/images/gallery/2023-01/scaled-1680-/a7UqUfmUaND3Nn0X-screen-shot-2023-01-04-at-17-21-47.png)](https://manual.eskimi.com/uploads/images/gallery/2023-01/a7UqUfmUaND3Nn0X-screen-shot-2023-01-04-at-17-21-47.png)
3. When you have generated the code, forward this to the website developers.
    
    In this situation, since we are tracking conversions, the code has to be implemented between the **&lt;body&gt; &lt;/body&gt;** tags of the success page, like in the example below.
    
    [![Screen Shot 2018-08-09 at 13.01.13.png](https://manual.eskimi.com/uploads/images/gallery/2023-01/scaled-1680-/Lx0AiGHb4Q80IeRh-screen-shot-2018-08-09-at-13-01-13.png)](https://manual.eskimi.com/uploads/images/gallery/2023-01/Lx0AiGHb4Q80IeRh-screen-shot-2018-08-09-at-13-01-13.png)
4. Test your code and see if everything works and if the pixel code is being called.
    
    To test the code, open up the Developer Tools of your browser and using the "Network Traffic" tools check if the pixel code is being launched.

# Eskimi Conversion Pixel Implementation on Action Button

On some occasions, you will need to implement a conversion registration when the user clicks a button. This can be done in a few easy steps.

**Step 1**

Initialize the base pixel.

Paste your base pixel code between your websites success page &lt;body&gt; &lt;/body&gt; tags. And if the code is initialised in the &lt;head&gt; &lt;/head&gt; tags then everything is set up.

This how it should look when it is initialized between the &lt;body&gt; tags.

[![image-1610545159229.png](https://manual.eskimi.com/uploads/images/gallery/2021-01/scaled-1680-/image-1610545159229.png)](https://manual.eskimi.com/uploads/images/gallery/2021-01/image-1610545159229.png)

**Step 2**

On the "Submit" button, add an ***onclick*** property to the button, with the attribute **"esk ('track', 'Conversion');"**

The button code should look like this

[![image-1610545174560.png](https://manual.eskimi.com/uploads/images/gallery/2021-01/scaled-1680-/image-1610545174560.png)](https://manual.eskimi.com/uploads/images/gallery/2021-01/image-1610545174560.png)

Now every time the button is clicked a successful conversion is registered.

Don't forget to view the source code of the page.