Performance marketers running SMS affiliate campaigns live and die by accurate conversion attribution. Without reliable postback tracking, it is impossible to know which messages, segments, or offers are actually generating revenue — and impossible to optimize spend accordingly. Yet integrating postback-based conversion tracking with SMS campaigns introduces unique technical challenges that differ from standard web or email affiliate setups. This guide walks through the architecture of SMS affiliate postback tracking, covers integration patterns with platforms like TUNE and Everflow, and explains how to build an attribution pipeline that produces trustworthy data at every stage of the click-to-conversion funnel.
How Postback Tracking Works in Affiliate Marketing
Before addressing SMS-specific considerations, it is worth establishing how server-to-server (S2S) postback tracking works in general. Unlike pixel-based tracking, which relies on a JavaScript snippet firing in the user's browser, postback tracking uses a server-side HTTP call from the affiliate network to the tracking platform (or vice versa) when a conversion event occurs.
The Basic Postback Flow
- Click: A user clicks a tracking link. The tracking platform logs the click, assigns a unique click ID, and redirects the user to the offer landing page, appending the click ID as a URL parameter.
- Conversion: The user completes the desired action (purchase, signup, app install, etc.) on the advertiser's site.
- Postback Fire: The advertiser's system (or the affiliate network) sends an HTTP GET or POST request to a predefined postback URL, passing back the click ID and conversion details (payout, event type, transaction ID).
- Attribution: The tracking platform matches the returned click ID to the original click record, attributing the conversion to the correct campaign, creative, and subscriber segment.
This server-side approach is more reliable than pixel tracking because it does not depend on the user's browser environment. It is immune to ad blockers, cookie restrictions, and cross-domain issues — all of which matter significantly in the SMS context, where users are transitioning from a messaging app to a mobile browser.
Key Terminology
| Term | Definition |
|---|---|
| Click ID | A unique identifier generated at click time, passed through the redirect chain and returned on conversion |
| Postback URL | The endpoint that receives conversion notifications, typically containing macro placeholders for dynamic values |
| Sub-IDs | Additional parameters (sub1–sub5) used to pass campaign metadata like message variant, segment label, or send time |
| Transaction ID | A unique identifier for the conversion event, used for deduplication and fraud detection |
| Global Postback | A single postback URL configured at the network level that fires for all offers under an affiliate account |
Why SMS Campaigns Require Special Attention for Postback Tracking
SMS affiliate campaigns differ from display, native, or email campaigns in several ways that directly affect postback tracking accuracy. Understanding these differences is essential before configuring an integration.
The Short Link Problem
SMS messages are constrained by character limits, especially when using GSM-7 encoding to maximize deliverability. Long affiliate tracking URLs with multiple query parameters can consume an entire message segment on their own. This is why virtually all SMS affiliate campaigns use short links — either from a dedicated short domain or a third-party shortener.
The challenge is that each redirect hop in the chain is a potential point of failure for parameter passthrough. If the short link redirects to the tracking platform, which redirects to the affiliate network, which redirects to the offer page, the click ID must survive every hop intact. Losing it at any stage breaks attribution entirely. Platforms like Trackly address this with built-in link tracking using custom short domains, where the short link, click tracking, and parameter appending all happen within a single system — reducing redirect hops and the risk of lost parameters. For a broader look at how click tracking works in SMS, see our guide on SMS link tracking and click attribution.
Mobile Browser Behavior
When a subscriber taps a link in an SMS, the URL opens in their default mobile browser. On iOS, this is typically Safari; on Android, it is Chrome or the device manufacturer's default browser. Several mobile browser behaviors can interfere with tracking:
- Intelligent Tracking Prevention (ITP): Safari aggressively limits third-party cookies and can strip query parameters from certain redirect chains.
- Link preview prefetching: Some messaging apps prefetch URLs to generate link previews, which can register false clicks.
- App-to-browser handoff: The transition from the SMS app to the browser can sometimes drop referrer headers or URL fragments.
Server-to-server postback tracking sidesteps most of these issues because attribution does not depend on browser-side cookies or pixels. This is a primary reason S2S postbacks are the standard for SMS affiliate campaigns rather than pixel-based tracking.
Carrier and Compliance Considerations
Carrier filtering systems inspect SMS content, including URLs. Using well-known public shorteners (like bit.ly) can trigger filtering because they are commonly associated with spam. Custom short domains on dedicated, warmed-up sending infrastructure are less likely to be flagged — and they provide full control over the redirect chain and parameter handling.
Integrating TUNE with SMS Campaigns
TUNE (formerly HasOffers) is one of the most widely used affiliate tracking platforms. Its postback system is well-documented and flexible, making it a solid choice for SMS affiliate campaigns. Here is how to set up the integration.
Step 1: Configure the Tracking Link
A standard TUNE tracking link looks something like this:
https://your-network.go2cloud.org/aff_c?offer_id=1234&aff_id=5678&aff_sub={click_id}&aff_sub2={segment_label}&aff_sub3={message_variant}
The key parameters are:
- offer_id: The TUNE offer identifier
- aff_id: Your affiliate account ID
- aff_sub: Where you pass your internal click ID for postback matching
- aff_sub2–aff_sub5: Additional sub-ID slots for campaign metadata
The SMS platform needs to dynamically populate these macros at send time or at click time. If you are using Trackly's offer management system, the platform handles macro replacement automatically when generating short links — the click ID is generated at click time and appended to the outbound redirect URL before the user reaches TUNE.
Step 2: Set Up the Postback URL in TUNE
In the TUNE dashboard, configure a postback URL that points back to your tracking system. The postback URL should include TUNE macros that will be replaced with actual values when the postback fires:
https://tracking.yourdomain.com/postback?click_id={aff_sub}&payout={payout}&txn_id={transaction_id}&offer_id={offer_id}&status={status_code}
When a conversion occurs, TUNE sends an HTTP request to this URL with the macros replaced by real values. The tracking system receives the request, extracts the click_id, and matches it to the original click record.
Step 3: Validate the Integration
Before sending live traffic, test the full chain:
- Generate a test short link with known sub-ID values
- Click the link on a mobile device and complete the conversion flow
- Verify that the postback fires and the click ID matches
- Confirm that all sub-ID values (segment, variant, etc.) are passed through correctly
A broken postback chain is invisible until you audit it. Always test with real mobile devices — desktop browser testing can mask mobile-specific redirect issues.
Integrating Everflow with SMS Campaigns
Everflow is another major affiliate tracking platform, and its approach to postback tracking is similar to TUNE but with some differences in URL structure and macro naming conventions.
Everflow Tracking Link Structure
https://www.your-network.com/click?offer_id=1234&affiliate_id=5678&sub1={click_id}&sub2={segment_label}&sub3={message_variant}
Everflow uses sub1 through sub5 for sub-ID passthrough. The logic is the same as TUNE: your internal click ID goes into sub1, and campaign metadata populates the remaining slots.
Everflow Postback Configuration
https://tracking.yourdomain.com/postback?click_id={sub1}&revenue={payout}&txn_id={transaction_id}&offer_id={offer_id}
Everflow supports both global postbacks (one URL for all offers) and offer-level postbacks. For SMS campaigns where multiple offers may be rotated across different segments, a global postback is typically more practical — it ensures every conversion is captured regardless of which offer the subscriber was routed to.
TUNE vs. Everflow: Key Differences for SMS Integration
| Feature | TUNE | Everflow |
|---|---|---|
| Sub-ID naming | aff_sub, aff_sub2–aff_sub5 | sub1–sub5 |
| Click ID macro | {aff_sub} | {sub1} |
| Payout macro | {payout} | {payout} |
| Transaction ID macro | {transaction_id} | {transaction_id} |
| Global postback support | Yes | Yes |
| Real-time reporting API | Yes | Yes |
| Impression tracking | Yes (pixel or S2S) | Yes (S2S preferred) |
Both platforms are well-suited for SMS affiliate campaigns. The choice between them usually comes down to which network hosts your offers. Trackly's offer management module integrates with both TUNE and Everflow, abstracting away the macro differences so offers from either network can be configured within a single campaign workflow.
Designing a Sub-ID Strategy for SMS Attribution
Sub-IDs are the backbone of granular attribution in SMS affiliate campaigns. A well-designed sub-ID strategy answers questions like: which message variant drove the most conversions? Which subscriber segment has the highest revenue per send? Which send time produces the strongest ROI?
Recommended Sub-ID Mapping
| Sub-ID Slot | Recommended Value | Purpose |
|---|---|---|
| sub1 / aff_sub | Internal click ID | Primary attribution key for postback matching |
| sub2 / aff_sub2 | Campaign ID | Identifies the specific SMS campaign or send |
| sub3 / aff_sub3 | Message variant ID | Tracks which creative or A/B test variant was sent |
| sub4 / aff_sub4 | Segment label | Identifies the audience segment (e.g., "high_engagement", "30day_inactive") |
| sub5 / aff_sub5 | Offer ID or rotation group | Tracks which offer was served, especially useful with offer rotation |
This mapping provides five dimensions of analysis. When postbacks arrive, conversion data can be aggregated by any combination of these dimensions to identify what is working and what is not.
If you are running offer rotation — cycling through multiple offers to combat creative fatigue and maximize revenue per send — the sub5 slot becomes critical. It lets you attribute conversions to specific offers even when the same campaign is serving different offers to different subscribers. For a deeper look at this strategy, see our piece on SMS offer rotation and how affiliates maximize revenue per send.
Click-to-Conversion Attribution Architecture
With the integration configured and sub-IDs mapped, here is how the full attribution pipeline works for an SMS affiliate campaign, from message delivery to revenue reporting.
End-to-End Flow
- Message Sent: The SMS platform sends a message containing a short link. The short link is unique to the campaign and may be personalized per subscriber or per segment.
- Click Registered: The subscriber taps the link. The SMS platform's link tracking system logs the click, generates a unique click ID, and stores metadata (subscriber ID, segment label, message variant, timestamp).
- Redirect to Network: The tracking system redirects the user to the affiliate network's tracking link, appending the click ID and sub-IDs as query parameters.
- Network Redirect: The affiliate network logs its own click, assigns its own click ID, and redirects the user to the offer landing page.
- Conversion Occurs: The subscriber completes the desired action on the advertiser's site.
- Postback Fires: The affiliate network sends a postback to the SMS platform's postback endpoint, returning the original click ID and conversion details.
- Attribution Completed: The SMS platform matches the click ID to the original click record, linking the conversion back to the specific subscriber, campaign, message variant, and segment.
Each step in this chain must preserve the click ID. A single broken link in the redirect chain — a misconfigured parameter, a redirect that strips query strings, a postback URL with a typo — results in an unattributed conversion. This is revenue earned but unaccounted for, which makes optimization impossible.
Handling Delayed Conversions
Not all conversions happen immediately after a click. A subscriber might tap a link, browse the offer page, and return hours or days later to complete the action. The attribution window — the time period during which a conversion can be matched to a click — is configured on the affiliate network side. Common windows range from 24 hours to 30 days.
For SMS campaigns, most conversions happen within a short window. Data from performance marketing campaigns consistently shows that the majority of SMS-driven conversions occur within the first hour of the click. However, for higher-consideration offers (insurance quotes, financial products), the window may need to be longer. Coordinate with your network or advertiser to ensure the attribution window matches the offer's typical conversion timeline.
Fraud Detection and Postback Validation
Postback-based tracking is more resistant to fraud than pixel tracking, but it is not immune. SMS affiliate campaigns can encounter several types of fraudulent or invalid conversions.
Common Fraud Patterns
- Duplicate postbacks: The same conversion fires multiple times, inflating revenue numbers. Use the transaction ID to deduplicate — if two postbacks arrive with the same transaction ID, discard the second.
- Postbacks without matching clicks: A postback arrives with a click ID that does not exist in your system. This could indicate parameter manipulation or a misconfigured integration.
- Abnormal conversion timing: Conversions that occur within milliseconds of the click are suspicious. Legitimate users need time to load the page and complete the action.
- Geographic mismatches: The click originates from one country but the conversion postback indicates a different geography.
Validation Checks to Implement
- Verify that every incoming postback contains a click ID that exists in your click log
- Check for duplicate transaction IDs and reject duplicates
- Flag conversions where the click-to-conversion time is below a reasonable threshold (e.g., under 5 seconds)
- Compare the IP address or geographic data from the click with the conversion event
- Monitor conversion rates by segment and flag statistical outliers
Trackly's partnership tracking includes built-in fraud detection capabilities that automate several of these checks, flagging suspicious postbacks before they affect reporting or payout calculations.
Reporting and Revenue Optimization
Once postback data is flowing reliably, the real value emerges: the ability to optimize SMS campaigns based on actual revenue data rather than click-through rates alone.
Key Metrics to Track
| Metric | Formula | What It Tells You |
|---|---|---|
| Earnings Per Click (EPC) | Total Revenue / Total Clicks | Revenue efficiency of your traffic |
| Earnings Per Send (EPS) | Total Revenue / Messages Sent | Overall campaign profitability per message |
| Click-to-Conversion Rate (CR) | Conversions / Clicks | Offer page effectiveness |
| Revenue Per Segment | Segment Revenue / Segment Size | Which audience segments are most valuable |
| Variant Revenue | Revenue attributed to each A/B variant | Which message copy drives the most revenue |
Click-through rate alone is a misleading optimization target for affiliate campaigns. A message variant might generate a high CTR but low conversions if the copy sets incorrect expectations about the offer. Postback data enables optimization for revenue, not just engagement.
Closing the Loop with A/B Testing
When the sub-ID strategy includes message variant IDs, revenue per variant can be calculated rather than just clicks per variant. This is a fundamentally stronger way to run A/B tests for affiliate campaigns. A variant that generates fewer clicks but higher-quality traffic (higher conversion rate, higher average payout) is the winner — and that insight is invisible without postback data.
Trackly's A/B testing and algorithmic creative selection system can incorporate postback conversion data into its optimization model, automatically allocating more traffic to message variants that produce higher revenue — not just higher click rates. This shifts optimization from manual analysis to automated, data-driven decision-making.
Troubleshooting Common Integration Issues
Even with a well-designed architecture, postback integrations can break. Here are the most common issues and how to diagnose them.
Missing Postbacks
If conversions are visible in the affiliate network dashboard but postbacks are not arriving at your endpoint:
- Verify the postback URL is correctly configured in the network dashboard
- Check that your postback endpoint is publicly accessible and returning HTTP 200 responses
- Confirm that the network has postback firing enabled for your affiliate account (some networks require manual activation)
- Review server logs for incoming requests that may be malformed or rejected
Unmatched Click IDs
Postbacks arrive but the click ID does not match any record in your system:
- Check for URL encoding issues — special characters in click IDs can be double-encoded during redirect chains
- Verify that the correct sub-ID slot is being used (e.g., the network is returning
{aff_sub}but the click ID was passed inaff_sub2) - Confirm that click IDs are not being truncated by URL length limits in any redirect hop
Parameter Loss During Redirects
Sub-ID values are empty or incorrect in postback data:
- Test the full redirect chain manually, inspecting the URL at each hop
- Look for redirects that use
302status codes — some intermediate servers strip query parameters on 302 redirects - Ensure the short link system preserves all query parameters through the redirect
Duplicate Conversions
The same conversion appears multiple times in your data:
- Implement transaction ID deduplication at the postback endpoint level
- Check if the advertiser's conversion tracking is firing multiple events (e.g., a page reload triggers a second postback)
- Review your postback endpoint's response — if it does not return HTTP 200, the network may retry the postback
Advanced: Multi-Touch Attribution in SMS
Standard postback tracking uses last-click attribution: the conversion is attributed to the most recent click. For SMS campaigns that send multiple messages over time, this means only the final message before conversion receives credit.
A more nuanced approach tracks all clicks from a subscriber and distributes credit across touchpoints. While affiliate networks themselves typically only support last-click attribution (the postback returns one click ID), multi-touch models can be built internally by:
- Logging every click per subscriber with timestamps and message metadata
- When a postback arrives, looking up the subscriber's full click history
- Applying a multi-touch model (linear, time-decay, or position-based) to distribute conversion credit
This is particularly valuable for affiliate marketers using SMS to drive conversions across multi-step welcome journeys or re-engagement sequences, where a subscriber may interact with several messages before converting.
Putting It All Together
Reliable postback tracking is not a nice-to-have for SMS affiliate campaigns — it is the foundation that every optimization decision rests on. Without it, decisions are based on incomplete data: optimizing for clicks when revenue should be the target, keeping underperforming segments active because their true conversion rates are hidden, and missing fraud that erodes margins.
The technical setup is not complex, but it requires attention to detail. Every redirect hop, every sub-ID mapping, every postback URL macro must be configured correctly and tested on real mobile devices before live traffic is sent. Once the pipeline is working, the payoff is substantial: granular, revenue-level attribution data that enables optimization across every dimension of an SMS campaign — from message copy to audience segments to offer selection.
The difference between profitable and unprofitable SMS affiliate campaigns often comes down to attribution accuracy. Invest the time to get your postback integration right before scaling spend.
If you are building or scaling an SMS affiliate program and need a platform that handles postback integration, click tracking, and offer management natively, Trackly SMS is built for this workflow — with direct integrations for TUNE and Everflow, custom short domains, and revenue-level reporting out of the box.