Back to knowledge base

Postback tracking

Postback macro explained

Understand how macros map tracker data into partner payloads and how to manage them as your funnel evolves.

Last reviewed March 2026 9 min read

Introduction

Macros are placeholders inside a postback URL that your tracker replaces with real values at runtime. They make postbacks flexibleβ€”but they also introduce countless opportunities for mistakes.

Treat macro management as a version-controlled asset rather than tribal knowledge.

Explanation of the concept

A macro might look like {clickid}, {payout}, or {country}. When the conversion fires, the tracker swaps each macro with the corresponding value from the click or conversion log.

Macros can represent raw values (payout=35.00), derived values (payout*currency_rate), or metadata (offer_id, creative_id, keyword). Partners rely on these values to reconcile conversions.

Common problems

Macros become brittle when multiple teams maintain their own copy of the template. Someone adds {sub_id} to one version, another removes it accidentally, and nobody notices until payouts drift.

Another failure occurs when trackers rename macros but the postback template stays outdated. The tracker sends 'blank' values, partners reject them, and everyone wastes time debugging.

Step-by-step troubleshooting

Audit your current template by listing every macro, the source data, and the partner expectation. Compare that list against partner docs and your tracker configuration.

Use version control (Git, wiki logs, ticket comments) to record every change. Require reviewers to run a test with Postback Tester whenever macros change.

  1. Inventory macros

    Copy the postback URL into UTM Builder or a simple text document and list each macro.

  2. Match data sources

    Map each macro to the tracker field or landing page form that supplies it.

  3. Validate values

    Use Click ID Extractor and Redirect Checker to ensure the source data exists.

  4. Test replacements

    Fire sample conversions with Postback Tester to confirm every macro resolves.

  5. Update server uploads

    Use Facebook CAPI Tester to mirror the same macro set in your ad-platform server events.

Tools that help solve the problem

Managing macros is easier with a toolkit. Redirect Checker and Click ID Extractor verify the raw data, UTM Builder keeps the template readable, Postback Tester validates the replacements, and Facebook CAPI Tester ensures parity with server-to-server uploads.

Document your macro inventory inside the knowledge base so partners can see exactly what to expect.

Conclusion

Macros are the contract between your tracker and your partners. When you manage them deliberately, postbacks stay predictable.

Version-control your templates, document every change, and require test evidence before deploying updates.

Tools mentioned in this article

Postback Tester

Fire sample conversion callbacks and read the raw response before launch.

Open tool

Redirect Checker

Check HTTP redirect chains and status codes.

Open tool

UTM Builder

Create campaign tracking URLs with UTM parameters.

Open tool

Click ID Extractor

Extract click IDs and tracking parameters from URLs instantly.

Open tool

Facebook CAPI Tester

Send test events to Facebook Conversion API and verify responses instantly.

Open tool

More affiliate tracking guides

From the Tracking Tools blog

What is fbclid?

Understand Facebook click IDs, protect them through redirects, and keep Meta reporting aligned.

Read article →

How to Check a Redirect Chain

Learn how to trace every HTTP hop, document problems, and keep affiliate links honest.

Read article →

What Are UTM Parameters?

A deep dive into UTM tagging, troubleshooting, and the tools that keep analytics clean.

Read article →

Need help debugging your tracking setup?

Pair these diagnostics with a guided audit and keep attribution clean.