The AnyTrack Click-ID

Get the lowdown on AnyTrack Click-ID and how it helps digital marketers and ecommerce marketers track conversions and improve ROAS.

The AnyTrack Click-ID

The AnyTrack Click-ID is an essential component that powers accurate tracking and attribution across your marketing campaigns. Understanding how it works helps you make the most of your marketing efforts and improve your overall results.

What is the AnyTrack Click-ID?

The AnyTrack Click ID is a unique, anonymous and auto-generated alphanumeric string that enables AnyTrack to tie your visitor's actions across your marketing flows and marketing tech stack.

Example Click ID

IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV

📘

Good to know

The Click ID is not our invention! Very much like Google has its GCLID or Facebook the FBCLID, AnyTrack also uses a Click ID to anonymously identify visitors and stitch their activities with sessions and other actions.

Automatic vs. Manual Implementation

For most users: The AnyTrack Click-ID is automatically generated, instrumented, and orchestrated when you connect AnyTrack to standard integrations available in the AnyTrack catalog. No manual setup is required.

For advanced users: You'll need to manually work with the Click-ID only when:

  • Connecting with custom platforms and workflows not available in the standard catalog
  • Implementing advanced tracking scenarios beyond standard integrations
  • Building complex cross-platform attribution systems

How Click-IDs Work

Generation Process

The click id is automatically generated by the AnyTrack Tracking Tag for every standard and custom event triggered on your website. For example, when a user adds a product to their cart, AnyTrack generates a Click ID.

📘

Good to know:

You can see this happening on your browser by opening the developer mode and inspect the network's logs.

Anatomy of the Click ID

The AnyTrack Click ID is composed of 3 strings which allows AnyTrack to construct the user journey and timeline:

Property Unique IdentifierThe Visitor unique IdentifierEncrypted key
IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV

Attribution Flow

The AnyTrack Click-ID works by following the user's journey from the moment they click on your ad or affiliate link, through their engagement on your website, and ultimately to their conversion.

This process is achieved through a series of steps:

  1. Generation: When a user clicks on your ad or affiliate link, AnyTrack generates a unique Click-ID
  2. Attribution: The Click-ID is attached to the user's browser session, allowing the platform to attribute all subsequent interactions to that specific user
  3. Tracking: The AnyTrack platform tracks the user's actions throughout their journey, from ad click to conversion, using the Click-ID
  4. Reporting: The collected data is aggregated into actionable reports, providing you with valuable insights for optimizing your marketing efforts

How the Click ID is Used

The Click ID is used to stitch Client Side and Server Side events. For example, the Click ID appended to the Shopify Cart is triggered via the Client Side interaction and is recorded in the Shopify servers.

When the customer completes their journey with a Purchase, the Click ID is sent to AnyTrack via the Webhook Notifications triggered in the Shopify Servers.

You can see the Click ID value in the Shopify Event Logs:

Why Click-IDs Matter for Marketers

The AnyTrack Click-ID (whether automatic or manual) enables you to:

  1. Accurately attribute conversions - Track user interactions and correctly attribute conversions to specific marketing campaigns, ad placements, and affiliate networks
  2. Optimize marketing efforts - Make better-informed decisions for optimizing campaigns, ad placements, and affiliate partnerships with accurate attribution data
  3. Increase ROI - Identify high-performing marketing channels and strategies to allocate budget more effectively
  4. Enhance user experience - Identify user behavior patterns and preferences to refine website content and user experience

Manual Implementation Guide (Advanced Users Only)

⚠️

Important: This section is only for users working with custom platforms or advanced tracking scenarios. If you're using standard AnyTrack integrations from the catalog, the Click-ID is handled automatically.

Basic Setup: Generate the atclid Variable

The atclid variable is a Click ID generated using the current user session without relating it to any particular event. Use the following code to generate it:

var atclid = AnyTrack('atclid');

Important: This code will work only AFTER AnyTrack TAG was loaded on your page. To verify the code is already loaded, you can use this script:

AnyTrack(function() {
    var atclid = AnyTrack('atclid');
    // do something with atclid...
});

Google Tag Manager Implementation

  1. Create a new Javascript Variable
  2. Insert the following Code and Save
  3. Now you can use the atclid value in any of the tags within your Google Tag Manager container
function() {
    return atclid = AnyTrack('atclid');
}

Advanced Use Cases

Custom Integrations and Advanced Tracking Methods

When your marketing flow requires more than a standard integration available in the AnyTrack catalog, the Click ID is the key that enables the persistence of a session between the platforms or apps you are using.

As long as the Click ID is passed or synced between the platforms you can be 100% certain that you will be able to track conversions and send them to your analytics and ad platform's conversion API.

Marketing Automation Platforms

Let's say that you are running ads on Facebook and capturing opt-ins via a TypeForm embed on your Elementor/WordPress website:

  1. Capture the Click ID via Elementor
  2. Sync the Click ID with Active Campaign subscribers
  3. Trigger Offline Sales: Whenever your sales team updates the subscribers status or deal stage, you can trigger a webhook or a Zapier automation that will send the conversion event to AnyTrack

👉 Learn how to use webhooks and Zapier.

Email Marketing Campaigns & Cross Device Tracking

When you send emails to your subscribers, by appending the clickid identifier to your campaign URLs AnyTrack will identify the customer and stitch this new session with the initial subscriber session.

This enables seamless cross-device tracking and ensures you maintain attribution even when users switch between devices.

Benefits & ROI Impact

Attribution Accuracy

With the AnyTrack Click-ID, you can accurately attribute conversions to specific marketing campaigns, ad placements, and affiliate networks. This helps you understand which strategies are driving the best results and eliminates guesswork from your attribution analysis.

Campaign Optimization

Access to precise attribution data enables you to make better-informed decisions for optimizing your marketing campaigns. You can identify which touchpoints are most effective and adjust your strategy accordingly.

ROI Maximization

By identifying high-performing marketing channels and strategies, you can allocate your budget more effectively, ultimately increasing your return on investment (ROI). The Click-ID data provides the foundation for data-driven budget allocation decisions.

Enhanced User Experience

The Click-ID data can also be used to identify user behavior patterns and preferences, helping you refine your website content and user experience to better meet your audience's needs.

Best Practices

  • Use standard integrations first - Check the AnyTrack catalog for available integrations before implementing custom solutions
  • Always verify that the AnyTrack tag is loaded before trying to generate the atclid (for custom implementations)
  • Maintain consistency in how you pass Click IDs between different platforms and systems
  • Test your implementation regularly to ensure Click IDs are being generated and passed correctly
  • Document your custom integrations for future reference and troubleshooting

Conclusion

The AnyTrack Click-ID is an essential component that powers accurate tracking and attribution across your marketing campaigns. For most users working with standard integrations, it operates automatically behind the scenes. For those building custom workflows or advanced tracking scenarios, understanding how to implement and use the Click-ID manually provides the foundation for accurate, reliable conversion tracking across your entire marketing stack.

Whether automatic or manual, the AnyTrack Click-ID ensures you can gain valuable insights into user behavior and make informed decisions to improve your advertising campaigns and drive better results.