Click Tracking & URL Macros
Tracking URL & Click Tracking
Getting the Tracking URL
- Go to the Flows list in the admin panel.
- Click the copy icon next to the tracking URL column.
- Or open the flow editor — the tracking URL is shown in the "Tracking URLs" section.
Tracking URL Format
https://yourdomain.com/{flow_hash}
What Happens on Click
- The system checks if the flow is active.
- A unique click hash is generated.
- An active path is selected based on weights.
- Macros in the destination URL are replaced with actual values.
- The click is recorded (IP, user agent, referer, geo, UTM params).
- The visitor is redirected to the destination URL.
Passing UTM Parameters
You can append query parameters to the tracking URL to override flow-level defaults:
https://yourdomain.com/{hash}?sub_id=123&utm_source=facebook&utm_campaign=wl_jan
URL Macros Reference
Macros are placeholders in destination URLs that get replaced with real values when a click occurs.
| Macro | Replaced With | Example Value |
|---|---|---|
| {click} | Unique click hash (32 chars) | a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4 |
| {flow} | Flow hash (12 chars) | abc123def456 |
| {geo} | Visitor's country code | US |
| {sub_id} | Sub ID from flow or query param | campaign_123 |
| {utm_source} | UTM source | |
| {utm_medium} | UTM medium | cpc |
| {utm_campaign} | UTM campaign | weight_loss_jan |
| {utm_content} | UTM content | banner_v2 |
| {utm_term} | UTM term | lose+weight |
Example URL with Macros
https://landing.com/offer?clickid={click}&geo={geo}&source={utm_source}&sub={sub_id}
Previous: Flows, Paths & Goals · Next: Postback Integration