Skip to content

Understand every identifier AnyTrack uses to track and attribute conversions, from the Client ID and Click ID to refId, Property ID, and Tracking Group, plus the ad network click IDs AnyTrack collects and the fields that carry them across your marketing stack.

This page is the complete reference for the identifiers AnyTrack uses to connect a visitor, their actions, and the conversions they generate across your marketing stack.

If you want to understand how the Click ID stitches a customer journey together, see AnyTrack Click ID. If you want to send events without the Tracking Tag, see Server-Side Client ID.

IdentifierParameterWhat it identifiesGranularity
Client IDcidThe visitor (anonymous)One per visitor cookie
Page Click IDAnyTrack('atclid')The visitor, at one minuteChanges every minute (30 characters)
Click IDclick_idOne tracked eventOne per tracked event (34 characters)
External IDrefIdAn external alias you controlOne per customer record
Property ID{propertyid}The tracked websiteOne per AnyTrack property
Tracking GrouptgidAn integration or group of linksOne per integration

Quick mnemonic: cid is who, the Page Click ID is who and which minute, click_id is which event, refId is your own name for them.

These four identifiers carry the visitor and their actions through AnyTrack.

IdentifierParameterDefinitionWhere it is generated
Client IDcidA cookie ID that anonymously identifies the visitor. A 14-character alphanumeric string.Set as a first-party cookie by the Tracking Tag (two-year lifetime), or minted server-side via the collect endpoint. AnyTrack saves the Client ID server-side and restores it when a browser caps the cookie or the visitor deletes it.
Page Click IDAnyTrack('atclid')A 30-character ID: the Property ID, the Client ID, and 4 time characters for the current minute. It stays the same for one minute. It is not tied to one event. AnyTrack matches it to the latest event of the visitor.The Tracking Tag computes it each time you run AnyTrack('atclid'). The Tag does not store it.
Click IDclick_idA 34-character ID of one tracked event, such as the click on one link or the submit of one form: the Property ID, the Client ID, and an 8-character event ID. AnyTrack matches it to that exact event. This is the value that travels between platforms.The Tracking Tag appends it per element through AutoTag. Server-side, you can send the Property ID joined to the cid ({propertyid}{cid}, 26 characters). AnyTrack matches that value to the visitor, not to one event.
External IDrefIdAn external alias for a cid, such as an email, phone number, or your own customer ID.You supply it when the click_id cannot reach a destination such as a CRM.

These identifiers describe your account setup rather than a single visitor.

IdentifierParameterDefinition
Property ID{propertyid}Identifies the property (website) being tracked. It forms the prefix of every Click ID.
Tracking GrouptgidReferences an integration or a group of links so AutoTag knows which links and forms to append the Click ID to. Examples: typeform, ghl.

The AnyTrack Click ID is composed of three strings that let AnyTrack rebuild the visitor timeline:

Property ID (12 characters)Client ID (14 characters)Event ID (8 characters)
IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV

The full value looks like IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV. The 8-character event ID has two parts: 4 time characters, then 4 random characters. The time characters are a base-62 encoding of the minute. It is an encoding, not encryption. The random characters make each event ID different, so a Click ID matches one exact event.

The Page Click ID is shorter. It is the Property ID, the Client ID, and the 4 time characters of the current minute: 30 characters. The first 30 characters of a Click ID equal the Page Click ID only when both are made in the same minute. In server-side setups, you can send the Property ID concatenated with the cid you generated: {propertyid}{cid}. That value has 26 characters, and AnyTrack matches it to the latest event of the visitor before the conversion.

The Page Click ID stays the same for one minute. Its 4 time characters change when the minute changes. The Property ID and the Client ID stay the same for the visitor. A different _atid value from one minute to the next is expected. AnyTrack identifies the visitor by the Client ID, so attribution does not change.

AnyTrack matches the value that you send by its length: 34 characters match one exact event, 30 characters match the latest event of the visitor, and 26 characters match the latest event of the visitor before the conversion. See Server-Side Client ID for the full rules.

When the Tracking Tag runs in the browser, it sets the Client ID in the _atcid cookie and appends a click_id to each trackable element through AutoTag. The command AnyTrack('atclid') returns the Page Click ID on request.

When the Tracking Tag cannot run (Facebook Lead Ads, offline conversions, headless checkouts, or a contact created directly inside a CRM), AnyTrack creates the session server-side. You generate a 14-character cid, send a PageView to the collect endpoint, and identify later events with {propertyid}{cid}. AnyTrack matches that value to the latest event of the visitor before the conversion. See Server-Side Client ID for the full payload.

A Click ID moves through four stages. A single platform can act at more than one stage.

  1. Generation — the Tag (client-side) or the collect endpoint (server-side) creates the identifier.
  2. Propagation — AutoTag appends the Click ID to links and embeds, a hidden form field or action URL carries it through the --CLICK-ID-- token, or an integration (or Zapier or Make) passes it along.
  3. Landing — the destination stores the Click ID value in a field, such as a CRM contact property.
  4. Matching — the conversion returns to AnyTrack through a native integration event or a webhook, and AnyTrack matches it back to the original session by the click_id, or by the refId when the click_id could not travel.

For example, a Typeform embed receives the Click ID when the page loads (a destination), then returns the conversion on submit (a source).

Each platform stores the value in its own field. These field names are not new identifiers. Most fields hold the 34-character Click ID. Some fields hold a shorter form: the LeadsHook atclid field holds 30 characters (the Page Click ID of that minute), and the HubSpot property holds 26 characters (the Property ID and the Client ID). AnyTrack accepts the 34-, 30- and 26-character forms. For the end-to-end external-form → CRM workflow, see Pass the Click ID from External Forms to Your CRM.

PlatformFieldNaming
Typeformat_click_idFixed by the integration
Unbounceclick_idFixed by the integration
Elementorclick_idFixed by the integration
Calendlyutm_term or sfidFixed by the integration
ClickFunnelsclick_idFixed by the integration
LeadsHookatclidFixed by the integration
GoHighLevelCustom field shown as _atid, with the field key contact.atclidFixed by the integration
HubSpotContact property with the label AnyTrack Click ID and the internal name atclidFixed by the integration
LeadBytec3Fixed by the integration
Custom integration (webhook)click_id, clickid, click-id or click. Not atclid or _atidFixed by the integration
Generic HTML formAny name you choose, carrying the --CLICK-ID-- token valueFree

AnyTrack reads each ad platform click ID, plus the platform client-side identifiers when present (for example, the Meta fbp cookie and the Google Analytics client ID _ga). These belong to the ad platforms. They feed into the AnyTrack Click ID. They do not replace it.

Click IDNetwork
gclidGoogle Ads
gbraidGoogle Ads
wbraidGoogle Ads
fbclidFacebook Ads
ttclidTikTok Ads
msclkidMicrosoft Ads
opprefChatGPT Ads
tblciTaboola
ob_click_idOutbrain

AnyTrack sends the AnyTrack Client ID to some ad platforms as a matching identifier. On Facebook Ads, this identifier raises Event Match Quality. The path depends on the platform:

NetworkPathAnyTrack Client ID sent as
Facebook AdsConversion APIexternal_id
TikTok AdsConversion APIexternal_id
ChatGPT AdsConversion APIexternal_ids_sha256
Microsoft AdsConversion APIanonymousId
Google AdsGoogle tag in the browseruser_id

AnyTrack sends conversions to Google Ads through a server-side connection. This connection does not carry the AnyTrack Client ID. AnyTrack sends the Google client ID, the Google click ID, and hashed customer data.

AnyTrack does not send the AnyTrack Client ID to Taboola or Outbrain.

AnyTrack Identifiers FAQ

FAQ was last reviewed on 2026-11-13

What is the difference between the Client ID and the Click ID?
The Client ID (cid) is a cookie that identifies the visitor. The Click ID (click_id) identifies an action that visitor performed, and it is the value that travels between platforms. In server-side setups, you can send the Property ID joined to the cid ({propertyid}{cid}, 26 characters). AnyTrack matches it to the latest event of the visitor before the conversion.
What is the difference between atclid and click_id?
The command AnyTrack('atclid') returns the Page Click ID: 30 characters (Property ID, Client ID and the current minute) that stay the same for one minute. The click_id is 34 characters: the Property ID, the Client ID and an 8-character event ID (4 time characters and 4 random characters). A Click ID matches one exact event. A Page Click ID matches the latest event of the visitor. The name atclid also appears on cross-domain links, where it carries the 34-character Click ID.
Why is the _atid value different from one page to the next?
The _atid URL parameter carries the Page Click ID. The Page Click ID contains the current minute, so its last 4 characters change when the minute changes. The Property ID and the Client ID stay the same. Two pages that load in the same minute show the same value. AnyTrack identifies the visitor by the Client ID, so a different value on the next page is normal and does not affect attribution.
When does AnyTrack generate a Click ID server-side?
Whenever the Tracking Tag cannot run: Facebook Lead Ads, offline conversions, headless checkouts, and contacts created directly inside a CRM. Creating a contact in the HubSpot interface, for example, triggers the AnyTrack app for HubSpot to generate a server-side Client ID. See Server-Side Client ID.
When should I use refId instead of the click_id?
Use refId when the click_id cannot be passed to a destination such as a CRM. It aliases the visitor by an external value you control, like an email or your own customer ID, so later events identified by that value match back to the same visitor. See External ID as Click ID.
What identifier does AnyTrack send to Meta and Google for matching?
AnyTrack sends the AnyTrack Client ID to Facebook Ads and TikTok Ads as external_id through Conversion API. ChatGPT Ads receives it as external_ids_sha256, and Microsoft Ads as anonymousId. On Facebook Ads, this identifier raises Event Match Quality. On Google Ads, the Tracking Tag sets the AnyTrack Client ID as user_id on the Google tag in the browser. The server-side connection to Google Ads carries the Google client ID, the Google click ID, and hashed customer data when AnyTrack has them.
Do I need to set up these identifiers manually?
No. For standard integrations in the catalog, AnyTrack generates and passes the identifiers automatically. Manual work is only needed for custom platforms or advanced cross-platform setups.