AutoTag
>
Learn how AutoTag automatically appends AnyTrack Click IDs to every link, form, and checkout redirect on your site. Covers supported platforms, SubID parameter mapping, the AutoTag token for custom links, and how automatic parameter injection eliminates manual UTM configuration and prevents lost attribution.
AutoTag automatically appends the AnyTrack Click ID to every external link, form submission, and checkout redirect on your site — before the user clicks. No manual parameter building, no spreadsheets of UTM templates, no hoping developers remember to add tracking codes.
Before you begin
- The AnyTrack Tracking Tag is installed on your website
- Links on your page are published as regular HTML anchor tags, not generated by JavaScript
- You have an active AnyTrack property
The AnyTrack Tracking Tag detects trackable elements and injects the correct parameters automatically. Affiliate links get the right SubID format for each network (s1–s5 for ClickBank, tid for CJ, subid for Impact). Forms capture Click IDs in hidden fields. External checkouts carry session data through redirects.
How AutoTag Works
When the AnyTrack Tracking Tag loads on your page, it scans for links, forms, and redirects. For each trackable element, AutoTag:
- Identifies the destination platform
- Determines the correct parameter name for that platform
- Appends the AnyTrack Click ID using that parameter
This happens client-side, in real time, before the visitor interacts with the element.
Platform Parameter Mapping
AutoTag adjusts the tracking parameter to match each platform's requirements:
| Platform | Parameter | Example URL |
|---|---|---|
| ClickBank | tid | https://example.com/?tid=p8qkMansHXKG046vYzCCof5VUYvAJC |
| Rakuten | u1 | https://example.com/?u1=p8qkMansHXKG046vYzCCof5VUYvAJC |
| CJ Affiliates | sid | https://example.com/?sid=p8qkMansHXKG046vYzCCof5VUYvAJC |
| Calendly | utm_term | https://calendly.com/?utm_term=p8qkMansHXKG046vYzCCof5VUYvAJC |
For a full list of SubID parameter names by platform, see The SubID Parameter.
AutoTag Token
For links where AutoTag cannot auto-detect the correct parameter, use the --CLICK-ID-- token. Add it as the value of any parameter, and the AnyTrack Tracking Tag replaces it with the actual Click ID at page load:
<a href="https://example.com/?mycustomid=--CLICK-ID--">
Custom Tracked Link
</a>This is useful for custom integrations, non-standard affiliate platforms, or any link where you need the Click ID in a specific parameter.
Edge Case: Merging With Existing Parameters
If a link already has a SubID parameter with a custom value (e.g., sid=mybanner), AutoTag merges the Click ID with the existing value rather than overwriting it. The original value is preserved alongside the AnyTrack Click ID.
FAQ & Troubleshooting
FAQ was last reviewed on 2026-02-22
Updated about 3 hours ago
