Skip to content

AnyTrack

For developers and vibe coders

Build Freely. Track Accurately.

Fire any event from the browser or your server. AnyTrack matches it to the ad click, cleans it, and sends it to your ad platforms.

No credit card required

Building with Claude Code or Lovable? Connect the Docs MCP

The toolkit

Track Any Funnel You Can Imagine

Build forms, quiz steps, and checkouts the way you want. Fire each event where it happens, in the browser or on your server. AnyTrack keeps the data accurate, and your AI agent writes the code with the AnyTrack Docs MCP.

"...Currently working with google sheets, webhooks and Make automation to push offline conversion."
A lead generation team, before AnyTrack
01 Browser · Tag management

One Tag Loads Your Pixels and Collects First-Party Data

Your ad platforms learn from each visit to your site. One Tracking Tag manages your tags: it loads the pixel of each ad platform that you connect. On each visit, it records the PageView and collects the first-party data that your conversions need later.

  • One script, every pixel. Connect an ad platform in AnyTrack, and the Tracking Tag loads its pixel. Your site keeps one script.
  • First-party data. The Tracking Tag collects the ad click ID, the UTM parameters, the cookies, the IP, and the user agent of each visit.
  • Single-page apps. The Tracking Tag records a PageView on each route change, so your router needs no tracking code.
  • Forms and outbound clicks. The Tracking Tag tracks FormSubmit and OutboundClick on its own.
Install the Tracking Tag
Tracking Tag
<script>
! function(e, t, n, s, a) {
  (a = t.createElement(n)).async = !0,
    a.src = "https://assets.anytrack.io/XXXXXXXXX.js",
    (t = t.getElementsByTagName(n)[0]).parentNode.insertBefore(a, t),
    e[s] = e[s] || function() {
      (e[s].q = e[s].q || []).push(arguments)
    }
}(window, document, "script", "AnyTrack");
</script>
Facebook Ads Pixel Loaded
Google Ads Tag Loaded
TikTok Ads Pixel Loaded
Microsoft Ads UET tag Loaded
Taboola Pixel Loaded
02 Server · Server-side tracking

Your Server Sends the Conversions the Browser Never Sees

A payment, a booking, or a closed deal happens on a server, where no browser sees it. Your backend, payment tool, or CRM posts the event to AnyTrack. AnyTrack ties it to the web session of the original ad click.

  • One JSON payload. Your server posts the event with its value, its items, and the customer data.
  • Carry the click ID. Store the click ID that the trigger command returns with the order, and send it back in the payload. Without it, AnyTrack matches by email.
  • Each order counts one time. AnyTrack deduplicates the orders of an integration by their transactionId.
  • Test it. Send a test event, then check the Events Log of the integration and the Conversions Report.
Build the JSON payload
Server event
{
  "event_name": "Purchase",
  "click_id": "IBTO9lOfAMybrKiiB1U9YG91IFjs3Dv9AV",
  "email": "jsmith@example.com",
  "refId": "jsmith@example.com",
  "fullName": "John Smith",
  "phone": "+16505554444",
  "country": "US",
  "state": "CA",
  "city": "Menlo Park",
  "zipcode": "94025",
  "items": [
    {
      "id": "20291",
      "name": "Sony MDRZX110/BLK ZX Series Stereo Headphones",
      "quantity": 1,
      "price": 20.00,
      "brand": "Sony"
    },
    {
      "id": "49292",
      "name": "Beats Solo3 Wireless Headphones",
      "quantity": 1,
      "price": 100.00,
      "brand": "Beats"
    }
  ],
  "currency": "USD",
  "id": "24356562534585",
  "subtotalprice": 120.00,
  "totalprice": 120.00,
  "taxPrice": 10,
  "value": 120.00,
  "transactionId": "#24356562534585"
}
AnyTrack Conversions Report Ad click matched
03 Out · Conversion API

You Control the Data Your Ad Platforms Get

Your ad platforms bid on the data you give them. You choose the parameters each event carries, and AnyTrack maps each one to the fields of each ad platform. The more customer data you send to AnyTrack, the higher your match rate.

  • Identity Resolution. The Click ID, the Client ID, and customer data link each conversion to the session of its ad click.
  • Advanced matching. Send raw email, phone, and name. AnyTrack normalizes each value to each ad platform's rules, then hashes it with SHA-256.
  • Audiences. Build custom audiences on your ad platforms from every AnyTrack event.
  • One sender per event. Turn off the pixels and tags that send the same events, after you confirm that AnyTrack delivers them.
Read how the Conversion API works
Browser event
Server event
AnyTrack Data Orchestration
Identity Click ID, Client ID, email Resolved
Matching Normalized, SHA-256 Hashed
Orders transactionId Deduplicated
Audiences Every AnyTrack event Ready
Facebook Ads Conversions API Mapped
Google Ads Enhanced Conversions Mapped
TikTok Ads Events API Mapped
Microsoft Ads UET Conversions API Mapped
ChatGPT Ads Conversion API Mapped
Google Analytics 4 Measurement Protocol Mapped
04 Out · Webhooks

Take Your Data Where You Need It

Your data does the most work where your team works: your CRM, your warehouse, your team chat. An outgoing webhook sends each event as an HTTP POST with a JSON body, as soon as the event is in the Conversions Report.

  • Full attribution. Each payload holds the click IDs, the event name, value, and currency, and the source, medium, and campaign.
  • Zapier and Make. Route each event through Zapier or Make to update a CRM record or send a Slack message.
  • Test before you go live. The Test button sends sample values in the same structure as a real event.
Set up an outgoing webhook
Webhook payload
{
  "clickId": "IBTO9lOfAMybWS1Rxx07V9MG2IvXUIPO0J",
  "eventName": "Purchase",
  "eventValue": 37.99,
  "currency": "EUR",
  "transactionId": "ebf390c5-6677-4b6f-9d44-ea21b1791a49",
  "mainAttribution": {
    "source": "facebook",
    "medium": "cpc",
    "identifier": "fbclid"
  }
}
Zapier Automation
Make Scenario
Slack Team alert
Webhook Any endpoint
HubSpot CRM
BigQuery Data warehouse
05 Read · API

Read Every Event, Report, and Data Point From Your Code

Your data belongs wherever you need it most. The AnyTrack API puts it in your scripts, dashboards, and agents at the speed of code. One key reads each property, report, conversion, and integration log of the account.

  • Debug a conversion. Look up one conversion by its ID, or read the logs of an integration to see the requests it received.
  • Campaign reports. Pull the campaign report with last-ad-click or first-ad-click attribution, or export it as CSV.
  • Read-only. An API key that starts with atk_ reads your data and cannot change it.
Read the API reference
Terminal
curl 'https://api.anytrack.io/v1/properties' \
  --header 'Authorization: Bearer YOUR_API_KEY'
Properties Each website or funnel and its settings
Reports Campaigns, events, and conversions
Conversions The full record of one event
Integrations Each source and the requests it received
Destinations Your pixels and ad platforms
Webhooks Your outgoing webhooks
06 AI · Vibe coding

You Built an Advanced Funnel. Now Measure Every Step.

You built the funnel you wanted with an AI tool. Now measure each interaction, and let your ad platforms optimize for each action that matters. The AnyTrack Docs MCP gives Claude Code, Lovable, Cursor, and other AI tools the live AnyTrack documentation, so your agent writes the tracking code from the docs.

  • Public. The Docs MCP needs no account and no API key.
  • The AnyTrack skill for Lovable. The skill asks for your CRM, payment tool, and ad platforms, then proposes an event plan before it changes code.
  • Your account data, in private beta. The Account MCP reads your account data, with the same access and limits as the API.
Set up the Docs MCP
Build with Claude Code Lovable Cursor Bolt Base44
Claude Code
claude mcp add --transport http anytrack-docs https://docs.anytrack.ai/mcp
search_docs Searches the docs
get_doc_context Reads a page

Tracking Tag commands

Start With AutoTrack. Customize With Commands.

Most funnels need no code: AutoTrack and AutoTag track your links and forms on their own, so start there. When your funnel needs more, the Tracking Tag gives you a command for each job.

Each event reaches AnyTrack from the browser or from your server. On the Starter plan and above, AnyTrack sends it to your ad platforms through the Conversion API.

AutoTrack Recommended

Tracks FormSubmit and OutboundClick on every page, with no code.

AutoTag Recommended

Adds the Click ID to your outbound links and to the --CLICK-ID-- field of your forms.

Fire any event

  • trigger AnyTrack('trigger', 'Lead', {...}) Records any event with its value, its customer data, and its items.
  • onViewport AnyTrack('onViewport', '#pricing', fn) Records an event when an element enters the screen.
  • Time on site setTimeout(fn, 30e3) Records an event after a set time on the page, such as LongVisit.
  • postback AnyTrack('postback', url, {...}) Sends an order with its items and customer data to your Custom Integration from the browser.

Carry the Click ID

  • atclid AnyTrack('atclid') Returns the Page Click ID, to send to your backend or your CRM.
  • atclidToUrl AnyTrack('atclidToUrl', 'cid') Adds the Click ID to the page URL, for embeds and iframes.
  • Click ID token ?click_id=--CLICK-ID-- Puts the Click ID in a link, a hidden form field, or a postback URL.
  • refId refId: 'jane@example.com' Sends your own customer ID, such as an email, in place of the Click ID.

Control the Tag

  • bind AnyTrack('bind', 'OutboundClick', fn) Runs your code each time the Tag records the event, for example another pixel.
  • Ready callback AnyTrack(function () {...}) Waits until the Tracking Tag loads, then runs your code.
  • at-do-not-track class="at-do-not-track" Keeps a link or a form out of AutoTrack.
  • quiet AnyTrack('quiet') Stops the PageView and AutoTrack on one page, such as an admin page.
Read the advanced event guide

The payoff: data your ad platforms can bid on.

Bid on Real Revenue

Value-based bidding and Target ROAS learn from the purchases your server sends.

One Count per Sale

AnyTrack resolves each visitor and deduplicates each order before your ad platforms see it.

Data You Can Check

The read-only API shows each conversion AnyTrack recorded and each request an integration received.

“...Onboarding was effortless, the documentation is clear, and support is excellent...”
Chealsea Wierbonski Group Product Manager at Google
Start tracking free
arrow-right-up.svg ui
No credit card required

AnyTrack for Developers FAQ

Send Your First Custom Event Today

Start tracking free. Then connect your coding agent to the AnyTrack docs, so it writes your tracking code from the real guides.

Start tracking free
arrow-right-up.svg ui
No credit card required
Read the custom event guide

Connect your coding agent

The AnyTrack Docs MCP gives your agent the AnyTrack docs while it builds. It is free and read-only, and it needs no AnyTrack account.

Claude Code Terminal
claude mcp add --transport http anytrack-docs https://docs.anytrack.ai/mcp

Run it in your terminal. Add --scope user to use it in every project.

Read the Docs MCP setup guide