# Fanduel

> Learn how to integrate Fanduel with AnyTrack for automated affiliate conversion tracking. Set up postback URLs to track conversions and send data to your ad platforms for campaign optimization.

## Fanduel Integration Overview

Fanduel and AnyTrack have partnered to provide a full conversion tracking solution. With this integration, Fanduel can send its customers' conversion data directly to AnyTrack's platform where it is then forwarded to relevant advertising platforms like Google Ads, Facebook `Conversion API`, and TikTok API. This ensures that all conversions are tracked accurately so marketers know exactly how their campaigns are performing in real-time. Additionally, with the help of sophisticated analytics tools available on AnyTrack's dashboard, users can fine-tune their marketing strategies for maximum ROI.

<Prerequisites
  title="Before you begin"
  items={[
    { label: "You have an AnyTrack account with a paid subscription", done: true },
    { label: "You have an active Fanduel affiliate account", done: true },
    { label: "The AnyTrack <code>Tracking Tag</code> is installed on your website", done: true },
  ]}
/>

### How does the Fanduel AnyTrack integration work:

1. **Traffic**: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
2. **Engagements**: When visitors click on your Fanduel affiliate links, AnyTrack does a few things:
   1. Collects granular data tied to the `OutboundClick`.
   2. Triggers Event Tracking API requests to your Tracking Tags and analytics.
3. **Conversions:** When visitors convert on the merchant's website, AnyTrack receives real-time conversion data through API Integration.
4. **Attribution:** AnyTrack processes the conversion data and reports it across various reporting sections of the AnyTrack Dashboard.
5. **`Conversion API`:** AnyTrack then sends your conversions to your **Ad Platforms' `Conversion API`** so you can feed your ad platform's Machine Learning, AI, and automatic optimization according to 100% of your conversion data.

### Technical details

| Reference       | Value             | Information                                                                        |
| --------------- | :---------------- | :--------------------------------------------------------------------------------- |
| Tracking Group  | `fanduel`         | The Tracking Group reference can be used to activate <Glossary>AutoTag</Glossary>. |
| Subid Parameter | `c`               | The Subid Parameter used to pass the AnyTrack `click_id`.                          |
| Tracking Method | `API Integration` | -                                                                                  |

### Standard Conversions

| Event Name      | Details                                          | Data Source     |
| :-------------- | :----------------------------------------------- | :-------------- |
| `OutboundClick` | When a visitor clicks on Fanduel offer links.    | AnyTrack JS Tag |
| `Lead`          | When a free registration is recorded in Fanduel. | API Integration |
| `Purchase`      | When a user generates a commission in Fanduel.   | API Integration |

### The Fanduel API Integration

The API Integration is fully pre-defined and ready to be implemented with your Fanduel account.

```http
```

## Setup Guide

### Step #1: Add Fanduel to your AnyTrack Account

1. Go to the **[Integration Catalog](https://dashboard.anytrack.io/catalog/)**, search for Fanduel.
2. Now click on the [Fanduel card](https://dashboard.anytrack.io/catalog/fanduel) and then click on Install.

### Step #2: Connect your Fanduel account

1. [Follow this link](https://partners.fanduel.com) to generate your security key.
2. Generate a new key (if you don't have one already).
3. Add the following IP addresses: `0.0.0.0/255.255.255.255`.
4. Copy the Security Key (ctrl+C).
5. Return to the AnyTrack settings and Paste the Security Key in the field below.
6. Save.

### Step #3: Adjust the Conversion Event Mapping

The Event Mapping allows you to define which events to track and map them to Conversion Events you will forward to your Ads Integrations (e.g., Facebook `Conversion API`).

***

## Validate your integration

This section will enable you to validate the main aspects of your setup.

### Link tracking

Since tracking starts when visitors click on offer links, you verify that your links are tracked and AutoTagged.

### AutoTag Methods

<Callout icon="🔥" theme="default">
  ### Reminder about AutoTag:

  **AutoTag** is a function that is enabled by default through the AnyTrack Tracking Tag, and that appends `c` & `click_id` data to affiliate links. Learn [more about AutoTag](/docs/autotag).
</Callout>

* **Default**: By default, AnyTrack automatically identifies and AutoTags Fanduel links found on your website.
* **AutoScan**: AnyTrack scans links that are embedded in redirect plugins and AutoTags them accordingly.
* **Manual**:
  * **Tracking Group Attribute**: You add the tracking group attribute to links according to their tracking requirements. For example: `data-tracking-group="incomeaccess"` or `rel="incomeaccess"`. More about [Tracking Group](/docs/tgid).
  * **Click ID Token:** You manually append the `subid`: `&c=--CLICK-ID--` to the offer link.

Once the links are set up, you can check in your Fanduel account reports and see whether the `c` parameters are passed to the offer links.

***

## FAQ & Troubleshooting

* **Can I import past conversions into AnyTrack?**
  No. AnyTrack can only ingest conversions triggered following a visitor session on your website.

* **Can I track direct linking campaigns?**
  Yes, but this requires a custom setup. Please refer to this [article](/docs/deeplink).

* **Can I use a different`subid` parameter than the one predefined by AnyTrack?**
  No.

* **Can I track conversions without the`click_id`?**
  No. The `click_id` passed to the Fanduel links is required to track conversions.

* **The Conversion Event Name is not what I am expecting, how can I change it?**
  You can update the Event Mapping in the Integration page.

***
