Campaign Tracking with TwinRed
TwinRed supports a comprehensive set of tracking tokens (also called macros) that can be appended to your destination URLs. These tokens are automatically replaced with real values when an ad is served, giving you detailed visibility into your campaign performance in your third-party tracker or analytics platform.
How to Use Tracking Tokens
Add tokens to your destination URL using curly braces. For example:
https://yoursite.com/lp?click_id={click_id}&country={country}&device={device}
When a user clicks your ad, TwinRed replaces each token with the actual value for that impression.
Available Tracking Tokens
TwinRed supports 30+ tracking tokens, including:
- {click_id} — Unique click ID for server-to-server postback tracking
- {campaign_id} — Your campaign ID
- {banner_id} — The creative/banner ID that was shown
- {site_id} — Publisher site ID
- {zone_id} — Ad zone ID within the publisher site
- {country} — Two-letter country code (ISO 3166-1 alpha-2)
- {device} — Device type (desktop, mobile, tablet)
- {os} — Operating system
- {browser} — Browser name
- {language} — Browser language
- {ip} — User IP address
- {timestamp} — Unix timestamp of the click
- {bid} — The CPM or CPC bid price for this impression
- {cost} — Actual cost of this impression/click
- {keyword} — Keyword (if applicable)
For the complete and up-to-date list of all supported tokens, please refer to your TwinRed account dashboard under Campaign Settings, or contact your account manager.
Server-to-Server (S2S) Postback Tracking
For conversion tracking, TwinRed supports S2S postbacks. Use the {click_id} token in your URL, and when a conversion occurs, fire a postback to TwinRed with the click ID to record the conversion in your campaign reporting.