AnyTrack Identifiers

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.

Quick reference

IdentifierParameterWhat it identifiesGranularity
Client IDcidThe visitor (anonymous)One per visitor cookie
Page Click IDatclidThe page sessionOne per page load (30 characters)
Click IDclick_idA specific action or trackable elementOne per link, form, or cart (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, atclid is which page, click_id is which action, refId is your own name for them.

Core identifiers

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, or minted server-side via the collect endpoint.
Page Click IDatclidA 30-character click ID for the current page session. Not tied to a specific element.The Tracking Tag generates it when a page loads.
Click IDclick_idA 34-character click ID for a specific trackable element (a link, form, or cart) or a server-side event. The 4 characters added to the atclid identify the element. This is the value that travels between platforms.The Tracking Tag appends it per element through AutoTag. Server-side it is the Property ID joined to the cid: {propertyid}{cid}.
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.
📘

Client ID vs Click ID

The cid identifies the visitor. The click_id identifies an action that visitor performed. Every event attribute (customer data, transaction details, product data) attaches to the click_id, not the cid.

Structural identifiers

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.

How the Click ID is structured

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

Property unique identifierVisitor unique identifierEncrypted key
IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV

The full value looks like IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV. The page-level atclid is the first 30 characters. A click_id extends it to 34 characters, where the final 4 characters identify the specific element (such as an affiliate link or a form). In server-side setups, the Click ID is the Property ID concatenated with the cid you generated: {propertyid}{cid}.

Where identifiers are generated

Client-side (Tracking Tag)

When the Tracking Tag runs in the browser, it sets the cid cookie, generates the atclid for the page, and appends a click_id to each trackable element through AutoTag.

📘

Note

PageView is the only standard event that does not generate a click_id by default. See Standard Conversions for the full event list.

Server-side (collect endpoint)

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 the click_id becomes {propertyid}{cid}. See Server-Side Client ID for the full payload.

HubSpot CRM contacts

When a contact is created directly in the HubSpot CRM interface, the AnyTrack app for HubSpot generates a server-side Client ID for that contact. This lets AnyTrack track the contact even though no browser session existed at creation.

How the Click ID travels

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

Fields that carry the Click ID value

Each platform stores the Click ID value in its own field. These field names are not new identifiers. They hold the same Click ID value.

PlatformFieldNaming
Typeformat_click_idFixed by the integration
GoHighLevel and Elementor_atidFixed by the integration
HubSpotAnyTrack Click ID (contact property)Fixed by the integration
Generic HTML formAny name you choose, carrying the --CLICK-ID-- token valueFree
📘

HubSpot

Map the AnyTrack Click ID into the AnyTrack Click ID contact property as shown in the HubSpot integration guide.

Ad platform identifiers

Identifiers AnyTrack collects

AnyTrack reads each ad platform click ID, plus the platform client-side identifiers when present (for example, the Meta fbp and fbc cookies 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
fbclidFacebook Ads
ttclidTikTok Ads
msclkidMicrosoft Ads

The identifier AnyTrack sends back

To raise Event Match Quality, AnyTrack sends the AnyTrack Client ID to each platform as that platform matching identifier through Conversion API:

NetworkAnyTrack Client ID sent as
Facebook Adsexternal_id
Google Adsuser_id
TikTok Adsexternal_id

AnyTrack Identifiers FAQ

FAQ was last reviewed on 2026-06-03

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, the Click ID is the Property ID joined to the cid: {propertyid}{cid}.
The atclid is the 30-character Click ID for the whole page session, generated once when the page loads. The click_id is 34 characters: it extends the atclid with 4 characters that identify a specific element, so each link, form, or cart gets its own value.
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.
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.
AnyTrack sends the AnyTrack Client ID to each ad platform as that platform matching identifier: external_id for Facebook Ads and TikTok Ads, and user_id for Google Ads. This raises Event Match Quality on conversions sent through Conversion API.
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.