CPA Campaign Management: Tracking Links, Attribution and Postbacks
CPA campaign management in UX Rocket is the ad analytics section where you create ad campaigns for partners, issue tracking links with deep links, set attribution windows, send postbacks to partners and define payout tariffs. The section also stores entry points (the apps and websites your ads lead to) and the partner directory with partner macros.
The section answers three questions: which partner brought the user, how much that user cost, and whether the partner learned about the conversion. Clicks, impressions and target events are matched using available identifiers and attribution rules.
Purpose
The module is built for marketers, mobile attribution specialists and ad network managers. With it you can:
- create a campaign for every partner or channel and manage them in one list;
- issue regular and smart tracking links for Android, iOS and Web;
- set POST CLICK and POST VIEW attribution windows, re-attribution and deferred deep linking;
- automatically send partners postbacks about installs, purchases, registrations and custom events;
- fix CPC, CPM, CPI, CPA and CPL rates and adjust charges for a period;
- see event counts and campaign costs with the CPA events metric in Insights.
How CPA tracking works
- You create a tracking link and give the partner a click-counting link and an impression-counting link.
- The partner adds its click ID to the link with a macro, for example
…/click/our1w8?clickid={click_id}. A click link looks like…/click/<identifier>, an impression link looks like…/i/<identifier>. - The user taps the ad. UX Rocket records the click and redirects the user: into the app via deep link, to the store or to the website.
- The UX Rocket SDK or script sends the target event: install, first launch, purchase, registration.
- The system links the event to a click or impression within the attribution window.
- If the event is attributed and a postback is enabled for it, UX Rocket sends the partner a request with the conversion data.
A conversion with no matching touch is treated as organic. No postback is sent for it.
Quick start
Launch and check example: create a campaign for a partner, configure a link to a website or app, send it to the partner and agree on a test visit. Check that the destination opens, the target event is sent and the click appears in the CPA events metric. If postbacks are required, check with the partner that the test conversion was delivered. Then check costs for the period with a tariff configured. If something is missing, check link availability, event collection, attribution windows and conditions, the postback template and tariff app, country and dates. Data delays and delivery diagnostics depend on the environment; ask your administrator.
Before launch, make sure your app or site is available in the account and its SDK or script sends the required events. Contact your administrator if the app is missing.
Step 1. Connect data collection: the SDK for a mobile app or the script for a website.
Step 2. On the Partners tab, make sure the partner you need is listed and set up its macros if required.
Step 3. If needed, save destination URLs or deep links for existing apps and sites on the Entry points tab.
Step 4. Create a campaign and choose the currency right away: tariffs must use the same currency.
Step 5. Check the campaign Attribution settings.
Step 6. Add a tracking link and give the partner the click and impression links.
Step 7. Set up postbacks, tariffs and, if needed, corrections.
Step 8. Check events and costs with the CPA events metric.
Terms
| Term | Meaning |
|---|---|
| Campaign | A container for tracking links, postbacks, tariffs and corrections. Defines the currency and attribution settings |
| Partner | An ad network or platform that brings traffic. Optional |
| Entry point | An app or website the ad leads to. For a mobile app it defines a link or a deep link |
| Tracking link | A link that counts ad clicks and impressions |
| Target URL | Where the user lands after the click: a store or a website page |
| Deep link | A link that opens a specific screen inside an installed app |
| Deferred deep link | A deep link that fires on the first launch after install |
| Postback | A request UX Rocket uses to tell a partner about a conversion |
| Macro | A placeholder in a link or postback template, for example {click_id} |
| Attribution window | The period after a click or impression during which a conversion is credited to the campaign |
| Organic | A conversion that could not be linked to a click or impression |
Campaign list
Step 1. In the header, click the AD icon and select Managing CPA campaigns. The item is available to users with access to this section.
Step 2. The Campaign list page opens with the Campaigns, Entry points and Partners tabs.
The campaign table has the Name, Account, Partner, Type, Status and Created columns. Use the "…" menu in the table header to choose and reorder columns.
The filter panel is on the left:
- Name – searches by campaign name and description;
- Description – searches by description;
- Partner and Traffic type;
- Status;
- Created and Modified – date ranges;
- Created by and Modified by – the campaign author and the author of the last change.
Click Apply to filter the list or Reset to clear the filters.
Campaign statuses
The status is calculated automatically from the latest activity: a click, impression or conversion.
| Status | When it is assigned |
|---|---|
| No data | There has been no activity yet and the campaign is less than 24 hours old |
| Active | The latest activity was less than 24 hours ago |
| Inactive | The latest activity was more than 24 hours ago, or there has been no activity for over a day since creation |
| Archive | The campaign has been archived |
Creating a campaign
Step 1. On the Campaigns tab, click Add.
Step 2. Fill in the fields:
- Name – required, up to 255 characters, unique within your account;
- Partner – you can leave "No partner selected";
- Traffic type – Free, Paid or Other;
- Currency – USD, EUR or RUB;
- Description – optional.
Step 3. Click Save. The new campaign card opens.
Editing, duplicating and archiving
In the campaign row, click "…" and choose an action:
- Edit – change the name, traffic type and description;
- Duplicate – create a copy of the campaign;
- Archive – move the campaign to the archive. The system asks you to confirm.
An archived campaign has no row-menu actions. Archiving a campaign does not disable its tracking links: archive each link separately to stop accepting clicks and impressions.
The duplicate window opens with a name like "Campaign 1 Copy (1)". Before saving you can change the partner, traffic type, currency and description.
The copy gets postbacks with events and conditions, tariffs, corrections and some attribution settings. Check session timeout, ad-only referrals, re-attribution to organic and the deferred deep link window: these values are not copied. Its status is "No data". Selecting a different currency does not convert copied tariff or correction currencies or amounts; check them before proceeding.
Campaign card
Click a campaign name in the list. The card has six tabs: Campaign, Attribution settings, Tracking links, Postbacks, Tariffs and Corrections.
The Campaign tab shows the main data: name, partner, traffic type, description, creation date, author and currency.
The button in the upper right corner depends on the tab:
| Tab | Button |
|---|---|
| Campaign, Attribution settings | Edit, and Save in edit mode |
| Tracking links | Add tracking link |
| Tariffs | Add tariff |
| Corrections | Add correction |
| Postbacks | No button, a postback is edited from the row menu |
Attribution settings
Attribution windows define how long after a click or impression a conversion is credited to the campaign. Settings are set separately for Web, iOS and Android.
Step 1. Open the Attribution settings tab and click Edit.
Step 2. Set the values with the "–" and "+" buttons or type a number.
Step 3. Click Save.
| Platform | Setting | Range | Default |
|---|---|---|---|
| Web | LAST VISIT attribution window | 1–90 days | 30 |
| Web | Count only ad referrals | checkbox | off |
| Web | Session timeout | 1–60 minutes | 30 |
| iOS, Android | POST CLICK attribution window | 1–30 days | 30 |
| iOS, Android | POST VIEW attribution window | 1–7 days | 1 |
| iOS, Android | Re-attribution inactivity window | 1–730 days | 30 |
| iOS, Android | Re-attribute to organic | checkbox | off |
| iOS, Android | Deferred deep link | checkbox | on |
| iOS, Android | Deferred deep link window | 1–24 hours | 3 |
For postbacks, windows are selected for the touch platform and saved at the click or impression; later changes do not alter existing touches. Post click and Post view windows set in the tracking link itself take priority over the campaign settings.
Tracking links
The Tracking links tab shows the name, app, click-counting link and status of every link.
Regular and smart links
- A regular link leads to one app or one website.
- A smart link detects the user's platform and sends the user to the Android app, the iOS app or the website. If a target for the platform is missing or the platform cannot be detected, the Fallback URL is used.
The link type is chosen at creation; the edit form does not allow changing it.
Adding a tracking link
The name is required and unique within the campaign, including archived links. Choose an app and target URL for each target: a deep link alone does not replace the target URL. Choose a URL or deep link from the selected app’s entry points or enter one yourself. Leave link windows empty to use campaign settings; enter positive values in days.
Step 1. On the Tracking links tab, click Add tracking link.
Step 2. Enter the Name (up to 255 characters) and choose the Link type.
Step 3. Fill in the platform blocks. Android and iOS have the App, Deep link and Target URL fields, Web has App and Target URL. For a smart link, also enter the Fallback URL: it is required when Android or iOS is filled in. For a regular link, the Fallback URL is taken from the target URL automatically.
Step 4. In the Attribution settings block, set your own Post click and Post view windows in days if needed.
Step 5. For a smart link, expand Additional parameters to add UTM tags and custom attributes. They are added to the destination and fallback URLs on redirect; partner macros can be added to the issued click and impression URLs.
Step 6. Click Save. The system generates a click-counting link and an impression-counting link.
Link requirements:
- at least one platform is required;
- one target per platform;
- the target URL, deep link and Fallback URL must be absolute addresses;
- the link identifier is unique across all of UX Rocket, not only within your account.
Tracking link card
Click a link name to open its card. The campaign links are listed on the left, and the selected link parameters are on the right: click and impression links, attribution windows, Fallback URL, apps, target URLs and deep links by platform.
The row "…" menu has Edit, Duplicate (the copy gets a name like "Link 1 Copy (1)") and Archive. An archived link stops accepting clicks and impressions.
Postbacks
Sending requires a matching event or partner URL template. Check the template on the partner card’s Postbacks tab and agree it with the partner; a custom event must match the partner event name. Configuring a template and enabling sending in the campaign are separate steps. Make sure the template contains the required macros.
A postback tells the partner about a conversion its ad brought. The Postbacks tab lists the campaign apps with the total number of postbacks and names of enabled events. Apps are taken from tracking-link targets.
Step 1. In the app row, click "…" and select Edit.
Step 2. In the Event block, choose the event and the Sending mode:
- Do not send – the postback is off;
- Send attributed – the postback is sent only for conversions linked to the campaign.
Step 3. To send custom events, click Add event. In the Custom event card, specify the Event name, the Event name at the partner and the sending mode.
Step 4. In the Conditions block, click the filter field or use "…" → Edit to set filters by event attributes, for example "City equals Moscow" and "Cart.Price less than 5000". Filters inside a group and the groups themselves are combined with "and" and "or". "…" → Clear all removes all conditions.
Step 5. Click Save.
Available events: install, first launch, reinstall, update, uninstall, purchase, first purchase, registration, reactivation, lead, subscription, trial start and end, refund, logout, click, impression and custom event.
Macros in tracking links and postbacks serve different purposes. The partner substitutes its identifier in the click link, for example ?clickid=abc123. To return it, a postback template can contain {uxr_click_id}: https://partner.example.com/postback?click_id={uxr_click_id}&event={uxr_event_name}. Available values are substituted and URL-encoded. A known system macro without a value becomes empty; an unknown token is left unchanged. Single and double braces are supported. The URL is illustrative: obtain the actual address and parameter format from your partner and verify test delivery. Do not send device identifiers or other personal data without a need and a legal basis.
Tariffs
A tariff defines the cost of an event brought by the campaign. Costs in the CPA events metric are calculated from tariffs.
Step 1. On the Tariffs tab, click Add tariff.
Step 2. Choose the Tariff type. For "Payment for a custom event + CA (CPA)", also choose the Standard event.
| Tariff type | What you pay for |
|---|---|
| Payment per click (CPC) | Every click |
| Payment per unique click (CPUC) | The first eligible click per user per calendar day |
| Payment per thousand impressions (CPM) | 1,000 impressions |
| Payment per install (CPI) | An attributed install |
| Payment per reinstall (CPI) | A reinstall |
| Payment per reactivation (CPA) | A user reactivation |
| Payment per first launch (CPA) | The first app launch |
| Payment per first purchase + CA (CPA) | The first purchase |
| Payment per user registration (CPA) | A registration |
| Payment for a custom event + CA (CPA) | The selected custom event |
| Payment per guaranteed lead (CPL) | A lead |
Step 3. Enter the Start date, the End date if needed, Apps, Countries and the Rate. Countries can be included or excluded.
Step 4. Click Save.
Rules:
- the rate is greater than zero, and the tariff currency matches the campaign currency;
- the end date is not earlier than the start date;
- for a tariff that has already started, only the end date and description can be changed.
- enabled tariffs of the same type cannot overlap in date, app and country at the same time; both dates are inclusive. An empty app list means all apps. End the old tariff the day before the new one starts;
- for custom CPA, choose an active client event rule.
Corrections
For example, with an eligible daily base of 1,000 and a −10% correction, the adjustable portion becomes 900. Event-supplied cost is excluded from that base. The app and both dates are required; the end date must not precede the start date. A zero percentage or non-positive fixed amount is not allowed.
A correction adds a surcharge or a discount to the calculated costs for a period. Example: the partner charged a volume bonus, or you agreed on a discount.
Step 1. On the Corrections tab, click Add correction.
Step 2. Fill in the fields: App, Amount/Percent, Currency, Date from, Date to, Time zone and Description.
Step 3. Click Save.
How to enter the value:
20%– a percentage correction. A negative percentage, for example-10%, is a discount;500– a fixed amount in the selected currency, always greater than zero.
Corrections apply to matching costs by app, currency and date, but not to cost supplied in the event itself. A fixed amount is added for a day with matching events, not for empty days. Percentages use the original adjustable base; the adjustable portion cannot go below zero. Both dates are inclusive; the time zone determines the event date and defaults to UTC.
Entry points
An entry point is a saved destination URL or deep link for an app or site. It can be selected in a tracking link. Apps for tariffs and corrections come from the app directory, not entry points.
Step 1. On the Entry points tab, click Add.
Step 2. Enter the Name, App and URL. For a mobile app, also choose the Link type: Link or Deep link.
Step 3. Click Save.
Entry points can be filtered by app, name, URL, link type, dates and authors. The row menu has Edit and Delete.
Partners
Default postback templates may come from the shared directory. Enable sending for each app separately in the campaign. Confirm macro syntax with the partner. The macro menu also supports duplication.
The Partners tab shows active partners from the shared directory; appearing in the list does not mean a partner is configured for your account. It shows name, website and traffic source (utm_source).
Click a partner name to open its card with three tabs:
- Partner – name, website, traffic source and description;
- Postbacks – postback URL templates by event;
- Macros – mapping of UX Rocket attributes to partner macros, for example "Ad ID" →
{banner_id}.
To add a macro, click Add on the Macros tab, choose the Attribute and enter the Macro. A macro can be edited or deleted from the row "…" menu.
CPA events metric
Use the metric to compare campaign activity and costs in Insights. It uses events associated with campaign tracking links, including clicks and impressions; the actions included depend on the data and tariff settings. This is not the same as the number of successfully delivered postbacks.
Build a report:
- Open Reports → Insights, create a report and select a date range.
- Add the CPA events metric and select a counting mode.
- To compare campaigns, add the Campaign breakdown. Add report or metric filters if needed.
- For costs, choose Count by attribute → Costs, select Sum and a currency matching the tariffs. Save the report.
Counting modes:
- All events counts the included events in the selected period.
- Unique users counts distinct users among those events. Available identifiers are used for anonymous events; the result depends on how identifiers are passed and linked.
- Count by attribute aggregates a selected numeric attribute. Choose Costs to calculate tariff costs and corrections, or another available numeric attribute to analyse its values. Tariffs and corrections do not apply to arbitrary attributes.
How costs are calculated. An event's own cost, when present, takes precedence over tariffs and is not changed by corrections. Otherwise, matching active tariffs apply according to their dates, currency and scope, followed by applicable corrections. For example, a CPC rate of 2 and three included clicks produce a cost of 6 currency units when no other tariffs, event costs or corrections apply. CPM rates are per thousand impressions. See the tariff and correction sections above.
Reading the chart and table. Choose a line or column chart to see how the metric changes over time: the horizontal axis shows periods, and the vertical axis shows the selected metric's value. With a campaign breakdown, compare the separate series and use the table below the chart to check their values. For example, 6 in “Costs → Sum” means 6 units of the selected currency for that period and group, not six conversions. The total number of unique users for the period may be lower than the sum of daily values because a user can return on multiple days. To compare values over the whole period, choose a table or bar chart.
If the result differs from your expectation, check the date range and filters, events for the link, the tariff type, status, dates and currency, and whether cost and identifiers are passed. For CPA tariffs based on a custom event, check the event and attribution settings. Empty breakdown attributes may appear as “Not defined”. See Attribution for more about attribution.
Things to consider
- Duplicating a campaign. Tracking links are not copied: create new links and give them to the partner. Attribution settings are only partially copied; check them in the new campaign.
- Link type. A saved regular link cannot be changed into a smart link or vice versa; create a new link of the required type.
- Currency. The partner and currency can be changed in the campaign card, but tariff and correction amounts are not automatically converted. Check currencies and rates.
- Deferred deep linking. It is configured for iOS and Android and requires support in the app.
- Postbacks. Delivery requires an attributed conversion and a matching template. The destination must meet the environment's security settings; internal addresses are blocked by default.
- Forecasting. If a report contains at least one CPA events metric, forecasting and anomalies are unavailable for the entire report.
FAQ
Why does the campaign copy have no tracking links?
A tracking link identifier is unique across all of UX Rocket, so links are not copied. Create them again in the new campaign and give the partner the new links.
How do I change the campaign currency?
Open the campaign card → Campaign → Edit, select the currency and save. Check existing tariffs and corrections: amounts are not automatically converted, and tariffs in a different currency may prevent saving.
Why is the campaign status "No data"?
The campaign was created less than a day ago and its links have had no clicks, impressions or conversions yet. If there is still no activity, the status changes to "Inactive".
Why did the campaign become inactive?
The latest click, impression or conversion was more than 24 hours ago. With new activity, the status becomes "Active" again.
Why didn't the partner receive a postback?
Check that the event uses the Send attributed mode, the conversion fell within the attribution window, the sending conditions are met and the partner address is public. Organic conversions are not passed to the partner.
Which attribution window applies: the campaign's or the link's?
Post click and Post view windows set in the tracking link take priority. If the link does not set them, the campaign settings for the touch platform are used. For postbacks, the values saved at the touch apply.
Why can't I edit the tariff fields?
The tariff has already started. For such a tariff you can change only the end date and description. For a new rate, end the current tariff and create the next one.
How is a smart tracking link different from a regular one?
A regular link leads to one target. A smart link detects the user's device and sends the user to the Android app, the iOS app or the website, and to the Fallback URL if the platform is unknown or has no target; if there is no fallback, the Web target may be used.
How does a partner pass its click ID?
The partner adds a parameter with its macro to the click link, for example ?clickid={click_id}. UX Rocket stores the value; to send it to the partner, make sure the postback URL template contains the appropriate macro.
When does a deferred deep link fire?
If the app is not installed yet, the user goes to the store. On the first launch after install, the app opens the target screen if deferred deep linking is enabled, a deep link is set and the launch happens within the Deferred deep link window (3 hours by default, 24 at most). It works only for iOS and Android.
What is CPA campaign management?
It is setting up cost-per-action advertising: the partner is paid for a click, install, purchase or another event. In UX Rocket, CPA campaign management combines tracking links, mobile attribution, partner postbacks and cost calculation by tariffs.