Skip to content
ChatterfyHelp Center
HomeGeneralCRMAI ManagerTrackerPlatformsFAQUpdate log
Tracker
Dashboards
Campaigns
Sources
Domains
Landings
Analytics
Cohorts
Leads
Integrations
Integrations — Partner Programs
Connecting Affiliate Programs
How event forwarding works
Integration Types
Setting Up a Ready-Made Integration
Custom Postback — custom integration
  1. Tracker
  2. Integrations
  3. Setting Up a Ready-Made Integration

Setting Up a Ready-Made Integration

A prebuilt integration is the fastest way to connect a popular affiliate program. Tracker already knows which events it has and which parameters are included in the postback. You only need to activate

Updated August 30, 20264 min
A prebuilt integration is the fastest way to connect a popular affiliate program. Tracker already knows which events it has and which parameters are included in the postback. You only need to activate it, copy the Postback URLs, and paste them into the affiliate program's dashboard.
This guide walks you through the entire process using PocketOption RevShare [v2] NEW as an example — one of the most popular Forex/binary affiliate programs. For other prebuilt integrations (IQOption, Quotex, and others), the principle is the same.
What to prepare
An active affiliate account with the affiliate program (PocketPartners for PocketOption). Configured campaigns in Tracker through which leads get into Telegram. An understanding of how How event forwarding works (clickid + postback) works. A ready-made Flow in the bot that sends the affiliate program's registration link with the {{tracker.clickid}} macro.



Setup steps

  1. 1

    Open Tracker → Integrations

    Find the required affiliate program in the list. If you are looking for PocketOption, there will be several options: PocketOption RevShare [v2] NEW, PocketOption CPA, and so on. Choose the one that matches your agreement with the partner.
  2. 2

    Click Connect +

    The button is next to the integration in the list. A setup window will open.
    
    Integration window
    Integration connection window
    
  3. 3

    Specify the Click ID Parameter

    This is the name of the parameter that the affiliate program will use in the postback for the click identifier. For PocketOption, it is usually click_id — Tracker will suggest the default value.
    
    Click ID Parameter
    Click ID Parameter field
    
  4. 4

    Check the event configurations

    After you select the Click ID Parameter, Tracker automatically creates event configurations: each event (registration, sale, resale, withdraw, and others) gets its own Postback URL.
    
    Event configurations
    Generated event configurations
    
  5. 5

    Copy the Postback URL for each event

    Each event has its own URL. You need to paste them into the PocketPartners dashboard — one URL per event.
    
    Settings window in PocketPartners
    Postback settings window in PocketPartners
    
  6. 6

    Set up postbacks in PocketPartners

    In the affiliate dashboard, open the Postbacks section. For each event:
    • — Postback type: Global or Campaign (depending on whether it is global or for a specific campaign).
    • — Event: registration / sale / resale / withdraw.
    • — Postback URL: paste the corresponding URL from Tracker.
    — Map the event parameters: clickid → CLICK_ID (this is the macro name in PocketPartners).
    
  7. 7

    Add a registration link

    In Tracker, in the integration's Registration Links section, add a link. Fields:
    — Link name — the internal name of the link.
    — Base URL — the affiliate link from your PocketPartners account.
    Tracker will automatically generate the Final URL with Parameters with the inserted {{tracker.clickid}} macro. Example: https://u3.shortink.io/smart/mByVsLe71bbFFH?click_id={{tracker.clickid}}.
    
    
  8. 8

    Complete a test registration

    Take the Final URL with Parameters, replace {{tracker.clickid}} with a test value (or use a real clickid from a lead), and complete registration in PocketOption.
  9. 9

    Check the logs

    After registration, open Logs — event logs → Postback logs. A record should appear with status OK, the registration event, and a matching clickid. If the status is Error, check the details (see the FAQ below).
Signs of a working integration
Postbacks from the affiliate program arrive in “Logs — event log” Logs — event logs — Postback logs with status OK. Click ID is not empty. The event appears in the lead card in Статья (Events section). Statistics increase in Dashboards — Summary Analytics (Registration → FD → RD).



Available events (PocketOption)

  • — Registration (registration) — user registration.
  • — Email Confirmation (emailconf) — email confirmation.
  • — First Deposit (sale) — first deposit. The main target event.
  • — Re-Deposit (resale) — repeat deposit.
  • — Withdrawal (withdraw) — withdrawal of funds.
  • — Commission (Revshare) — revshare commission.
Each event in Tracker has its own Postback URL. PocketOption will send a request to the appropriate URL depending on which event occurred.



Custom Fields from the postback

Custom Fields
Custom Fields in the postback

The prebuilt integration passes additional parameters via fields.<key>:
For example:
Постбек от PocketOptionplaintext
?clickid=abc123&tracker.event=sale&tracker.cost=200&tracker.currency=usd&fields.trader_id=99887
After receiving the postback, Tracker:
  • — Creates the trader_id Custom Field (if it did not exist).
  • — Writes the value 99887 to the lead card.
  • — The operator sees “trader_id = 99887” when opening the chat.
Additional PocketOption parameters (depends on the affiliate program settings):
  • site_id
  • trader_id
  • cid, ac, country
  • sub_id1 ... sub_id5
  • promo, device_type, os_version, browser
  • link_type, date_time, sumdep, wdr_sum, status
Include only the ones you need — extra Custom Fields clutter the lead card in the CRM.



Postbacks in PocketPartners — screenshots

Full path for setting up postbacks in the PocketPartners account:
PocketPartners — постбеки 1
PocketPartners — раздел Postbacks
PocketPartners — постбеки 2
Создание Global / Campaign постбека
PocketPartners — постбеки 3
Выбор события
PocketPartners — постбеки 4
Вставка Postback URL из Tracker
PocketPartners — постбеки 5
Сопоставление параметров события
PocketPartners — постбеки 6
Сохранение постбека




If it does not work

Possible reasons:
1. The registration link was sent without {{tracker.clickid}} — the affiliate program did not receive the clickid and did not send the postback correctly.
2. In the PocketPartners dashboard, the postback is not configured or is configured for a different URL.
3. The Click ID Parameter in Tracker does not match what the affiliate network uses (for PocketOption — click_id).
Solution: check every step from the link to the postback. Compare what is in the PocketPartners logs (whether the postback was sent) with the Tracker logs (whether it was received).

Open the specific entry in “Logs — event log” Logs — event logs — Postback logs. The Error column will contain the description. Common errors: “User not found by clickid” (clickid did not find the lead in the database — the lead did not reach Contact in the bot), “Invalid event type” (the event name does not match what Tracker expects), “Missing required parameter” (the affiliate network did not send clickid).

Check that the lead exists in the CRM (it is in Статья), and that the clickid in the Tracker logs matches the clickid in the lead card (visible in the Tracker fields). Sometimes there is a delay — refresh the card in a minute.

The ready-made integration has a fixed set of events. If you need more, create a Custom integration in parallel with additional events. Or contact Tracker support — sometimes they add an event to the ready-made integration on request.

Possible reasons: the affiliate network disabled postbacks (check this in its dashboard), the affiliate network’s Postback URL changed, or something broke in their API. Check that postbacks are active in the affiliate network dashboard, that the Click ID Parameter has not changed in Tracker, then make a test registration and check the logs. If the affiliate network is hitting your URL but Tracker does not see it, contact support.



What’s next

Logs — event logs
Open Tracker → Logs. In the upper part of the page, four logs are available: postback sends, source events, S2S requests, and the Tracker object change history. To search for a single chain, use the s
Custom Postback — custom integration
Custom integration is for cases where your affiliate program is not in the list of ready-made integrations. It works universally for any affiliate program that supports postbacks. Spend 15–30 minutes
Auto Actions — auto actions based on postbacks
The Auto Actions tab lets you automatically change a lead’s state in CRM when an affiliate network event occurs. Without operator intervention: a postback arrives — the lead switches to the required F
Dashboards — Summary Analytics
The Tracker → Dashboards section is a quick monitoring screen. Six key metrics at the top and funnel charts from click to repeat deposit at the bottom. It opens in 2 seconds and immediately answers th

Was this article helpful?

BackТипы интеграцийNextCustom Postback — custom integration

On this page

  • Setup steps
  • Available events (PocketOption)
  • Custom Fields from the postback
  • Postbacks in PocketPartners — screenshots
  • If it does not work
  • What’s next