Skip to content

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.

The Tracking Tag detects trackable elements and injects the correct parameters automatically. Affiliate links get the right SubID format for each network (s1s5 for ClickBank, tid for CJ, subid for Impact). Forms collect Click IDs in hidden fields. External checkouts carry session data through redirects.

When the Tracking Tag loads on your page, it scans for links, forms, and redirects. For each trackable element, AutoTag:

  1. Identifies the destination platform
  2. Determines the correct parameter name for that platform
  3. Appends the AnyTrack Click ID using that parameter

This happens client-side, in real time, before the visitor interacts with the element.

Links hidden on screen at load — inside a collapsed container, behind display: none, or below a video — are already in the page, so AutoTag handles them like any other link. Revealing them changes nothing.

Links that only get added to the page later, such as an offer button injected when a video finishes, are a different case. Whether AutoTag reaches them depends on how they are added, which varies between video platforms and custom scripts. It is worth verifying rather than assuming — see Links Added After Page Load for how to test one and the three ways to fix it.

AutoTag adjusts the tracking parameter to match each platform’s requirements:

PlatformParameterExample URL
ClickBanktidhttps://example.com/?tid=p8qkMansHXKG046vYzCCof5VUYvAJC
Rakutenu1https://example.com/?u1=p8qkMansHXKG046vYzCCof5VUYvAJC
CJ Affiliatessidhttps://example.com/?sid=p8qkMansHXKG046vYzCCof5VUYvAJC
Calendlyutm_termhttps://calendly.com/?utm_term=p8qkMansHXKG046vYzCCof5VUYvAJC

For a full list of SubID parameter names by platform, see The SubID Parameter.

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 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

Section titled “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-07-29

What is a Click ID?
A Click ID is a unique alphanumeric identifier generated by AnyTrack for every visitor session. Example: p8qkMansHXKG046vYzCCof5VUYvAJC. It connects a visitor's click to their downstream conversion, enabling accurate attribution. Learn more about SubID parameters and Click IDs.
Does AutoTag work with all affiliate networks?
Yes. AutoTag automatically adjusts to platform-specific parameters like tid for ClickBank, u1 for Rakuten, and sid for CJ Affiliates. For platforms not in the built-in mapping, use the --CLICK-ID-- token in your link.
Can I use AutoTag with custom parameters?
Yes. Add the token --CLICK-ID-- as the value of any URL parameter, and AutoTag replaces it with the actual Click ID at page load. For example: https://example.com?mycustomid=--CLICK-ID--. See Custom Event Triggers for more advanced tracking options.
Do I need coding experience to use AutoTag?
No. Once the Tracking Tag is installed on your site, AutoTag runs automatically. For custom links that need the --CLICK-ID-- token, you only need to edit the link URL.
What happens if my link already has a SubID value?
AutoTag merges the Click ID with your existing SubID value rather than overwriting it. Your original parameter value is preserved.
My VSL reveals the offer button only after the video plays. Will that link be tagged?
Usually yes, but confirm rather than assume. If the button is in the page from the start and merely hidden until the video reaches a certain point, AutoTag treats it like any other link. If the button is added to the page only when the video ends, the result depends on how your video platform or custom script inserts it. To check: let the page reveal the button, then right-click it, copy the link address, and look for the Click ID in the URL — vtid or tid for ClickBank, atclid for your own domains, or whichever SubID your network uses. If the Click ID is there, tagging worked.
The Click ID is in my VSL link, but conversions still are not attributed. What else could it be?
Something between the click and the offer is removing the parameter. Click trackers, link shorteners, and redirect scripts frequently rebuild the destination URL from a hardcoded value and drop everything AutoTag added. The tell is that a page without that redirect — an upsell or thank-you page, for example — attributes correctly while the VSL page does not, which points at a script on the VSL page rather than at your account settings. Open the browser network tab, click the button, and follow the redirect chain to see which hop drops the parameter. Any redirect in the path must pass the full query string through.
How can I test a VSL page without waiting for the whole video?
Duplicate the page with the same button and form, and swap in a video of a few seconds so the link reveals almost immediately. A reveal delay of 10 or 20 minutes makes live testing impractical, and the duplicate behaves the same way for tracking purposes.