> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.funnelflux.pro/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Tracking Setup with TrafficJunky

This guide explains how to set up tracking between FunnelFlux Pro and **TrafficJunky**.

## Step 1: Add TrafficJunky as a Traffic Source
1. Go to **Traffic Sources** > **New**
2. Search for "TrafficJunky" in the template list
3. Select the **TrafficJunky** template

The template configures the following tracking fields:

| Slot | Field Name | Token |
|------|------------|-------|
| campaign | campaign | `{CampaignID}` |
| external | external | `{ACLID}` |
| c1 | site | `{SiteName}` |
| c2 | spot | `{SpotID}` |
| c3 | banner | `{BanID}` |
| c4 | ad | `{AdID}` |
| c5 | key | `{Keywords}` |

**Cost type:** Cost Per Event/Click (no automatic cost token available — you may need to update costs manually)

## Step 2: Create Your Campaign URL
After creating the traffic source:
1. Build a funnel in the **Funnel Builder**
2. Click the traffic node and select **TrafficJunky** as the traffic source
3. Copy the generated tracking link

Use this tracking link as the destination/campaign URL in TrafficJunky. The URL includes all tracking field parameters, so TrafficJunky will automatically replace the tokens with real values when a user clicks your ad.

## Step 3: Set Up Conversion Tracking
TrafficJunky uses a **postback URL** for conversion tracking. The template pre-configures this in the **Conversion Tracking** tab.

The postback URL is:
```
https://ads.trafficjunky.net/ct?a=REPLACE_ME&member_id=1002901651&cb={timestamp}&cti={txid}&ctv={payout}&ctd=CONVERSION_DESCRIPTION&aclid={external}
```
Replace `REPLACE_ME` with your TrafficJunky-specific account or campaign ID.

Copy this URL and paste it into TrafficJunky's postback or conversion tracking settings.

In this URL:
- `{external}` is a FunnelFlux token replaced with the stored click ID from TrafficJunky
- `{payout}` is replaced with the conversion revenue amount

When a conversion happens in FunnelFlux, it fires this postback to notify TrafficJunky of the conversion.

## Optional: Updating Costs
If cost tokens are not available or not accurate for your campaign type, you can manually update costs in FunnelFlux:
1. Go to **Update Costs** in FunnelFlux
2. Export your cost data from TrafficJunky
3. Match the data by campaign ID and any relevant tracking fields
4. Import the cost data