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

This guide walks you through setting up tracking between FunnelFlux Pro and **Traforama**.

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

The template configures the following tracking fields:

| Slot | Field Name | Token |
|------|------------|-------|
| campaign | campaign | `%CAMPAIGNID%` |
| external | external | `%ID%` |
| c1 | spot_id | `%SPOTID%` |
| c2 | keyword | `%KW%` |
| c3 | ref_domain | `%REFDOMAIN%` |
| c4 | creative | `%CREATIVEID%` |

**Cost type:** Cost Per Event/Click. No automatic cost token is available, so 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 **Traforama** as the traffic source
3. Copy the generated tracking link

Use this tracking link as your destination URL in Traforama. The URL already includes all tracking parameters. When a user clicks your ad, Traforama replaces the tokens with real values.

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

The postback URL looks like this:
```
https://p.pa5ka.com/api/click?suid=REPLACE&c=1&cpa={payout}&id={external}
```
Copy this URL and paste it into Traforama's postback settings.

In this URL:
- `{external}` -- FunnelFlux replaces this with the stored click ID from Traforama
- `{payout}` -- FunnelFlux replaces this with the conversion revenue amount

When a conversion fires in FunnelFlux, it sends this postback to notify Traforama.

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