ClickFunnels Advanced

Advanced ClickFunnels tracking options including event mapping, conversion payload details, upsell differentiation, deeplink setup, and client-side tracking configuration.

How Does the ClickFunnels AnyTrack Integration Work

  1. Traffic: When visitors land on your website, AnyTrack collects traffic source data and First Party data.
  2. Engagements: When visitors optin on your ClickFunnels AnyTrack does a few things:
    1. Collects granular data tied to the FormSubmit.
    2. Triggers Event Tracking API requests to your Tracking Tags and analytics.
  3. Conversions: When visitors complete a Purchase, AnyTrack receives real time conversion data through Webhook.
  4. Attribution: AnyTrack processes the conversion data and reports it across various reporting sections of the AnyTrack Dashboard.
  5. Conversion API: AnyTrack sends your conversions to your ad platforms via the Conversion API, feeding their optimization algorithms with server-side conversion data.

Before you begin

  • You have an AnyTrack account with a paid subscription
  • You have an active ClickFunnels Classic account
  • The AnyTrack Tracking Tag is installed on your website

Technical details

ReferenceValueInformation
Tracking GroupclickfunnelsThe Tracking Group reference can be used to activate AutoTag.
Subid Parameterclick_idThe Subid Parameter used to pass the AnyTrack click_id.
Tracking MethodWebhook-

Standard Conversion mapping

ClickFunnels EventAnyTrack EventDetailsData Source
Form SubmittedFormSubmitWhen a visitor submits a formAnyTrack JS Tag
Contact CreatedLeadWhen a contact is createdWebhook
salePurchaseWhen a user generates a sale.Webhook
upsellPurchaseWhen a user generates an UpsellWebhook
📘

Good to know

AnyTrack events are reported in the AnyTrack dashboard and automatically mapped to your ad platforms via the Conversion API. Learn more about Event Mapping.

Adjust the Conversion Event Mapping (Optional)

The Event Mapping allows you to define which events to track and map them to Conversion Events you will forward to your Ads Integrations (ex: Facebook Conversion API)


ClickFunnels conversion payload example

{
  "country": null,
  "funnel_step_id": 86093476,
  "shipping_state": null,
  "city": null,
  "affiliate_id": null,
  "vat_number": null,
  "shipping_city": null,
  "created_at": "2023-05-12T09:03:48.000Z",
  "cf_affiliate_id": null,
  "question_61448_xhsj3": "Step 1 of 2: What stage are you at in your online business?",
  "cf_uvid": "null",
  "page_id": 58450275,
  "updated_at": "2023-05-12T09:03:48.000Z",
  "shipping_zip": null,
  "funnel_id": 12828163,
  "id": 2373428474,
  "state": null,
  "shipping_address": null,
  "aff_sub2": null,
  "event": "created",
  "first_name": null,
  "email": "[email protected]",
  "cart_affiliate_id": null,
  "zip": null,
  "address": null,
  "ip": "2.54.160.75",
  "last_name": null,
  "time_zone": "Jerusalem",
  "answer_61448_xhsj3": null,
  "webinar_at": null,
  "webinar_last_time": null,
  "unsubscribed_at": null,
  "webinar_ext": "uXFq3Drq",
  "phone": null,
  "contact_profile": {
    "action_score": 50,
    "country": null,
    "shipping_state": null,
    "gender": null,
    "city": null,
    "vat_number": null,
    "deduced_location": null,
    "shipping_city": null,
    "known_ltv": "100.00",
    "created_at": "2023-02-20T13:32:17.000Z",
    "normalized_location": null,
    "cf_uvid": "d81ffd5cf667767b2c41d6c0cc77ca77",
    "updated_at": "2023-02-28T08:46:40.000Z",
    "globally_unsubscribed": false,
    "shipping_zip": null,
    "id": 1020309001,
    "state": null,
    "shipping_address": null,
    "first_name": "hello",
    "email": "[email protected]",
    "zip": null,
    "age_range_upper": null,
    "address": null,
    "last_name": "mikey",
    "middle_name": null,
    "time_zone": "Jerusalem",
    "tags": [],
    "unsubscribed_at": null,
    "tags_names": null,
    "phone": null,
    "location_general": null,
    "websites": null,
    "lists_names": null,
    "shipping_country": null,
    "age": null,
    "age_range_lower": null
  },
  "additional_info": {
    "`utm_campaign`": null,
    "`utm_medium`": null,
    "purchase": {
      "order_saas_url": null,
      "payment_method_nonce": null
    },
    "cf_affiliate_id": null,
    "question_61448_xhsj3": "Step 1 of 2: What stage are you at in your online business?",
    "time_zone": "Jerusalem",
    "answer_61448_xhsj3": null,
    "`utm_term`": null,
    "cf_uvid": "null",
    "`click_id`": "4a9YzrLFn4qpCMsUKNfEfU2YAmkWpDVsU2",
    "webinar_delay": "-63851109862376",
    "`utm_source`": "demo",
    "`utm_content`": null
  },
  "`click_id`": "4a9YzrLFn4qpCMsUKNfEfU2YAmkWpDVsU2",
  "aff_sub": null,
  "name": null,
  "shipping_country": null
}

ClickFunnels Pro-Tips

How to differentiate between Purchase and Upsell Events?

The default mapping Tracks and Sends a Purchase event to your ad integrations. If want to differentiate these events to improve your measurements and better understand your customer's behavior, you can map the Upsell event to a custom event in AnyTrack and map the Upsell event to a custom conversion in Facebook (or any other ads integrations).

Step 1: Update the ClickFunnels Mapping

  1. Navigate to your ClickFunnels integration
  2. Update the Upsell Event Mapping -

Step 2: Update Your Facebook Ads Event Mapping

  1. Open the Facebook Pixel Settings
  2. Scroll down to the Event Mapping section
  3. Select the Upsell event the left column
  4. Write Upsell on the Facebook Mapping right column
  5. Save - You should notice that the "create conversions" button turned Red.
  6. Click on the Create Conversion
  7. By default the custom conversion name will be displayed on the Modal
  8. Now associate the Upsell Event to the Event Category Purchase
  9. Save.

How to capture lead data and AutoTag the redirect URL with the AnyTrack Click ID

To track a form submission and pas a click_id to an external system such as ThriveCart or an affiliate link, you need to leverage the Deeplink and cross domain functionalities.

  1. Add the following domain to your cross domain settings: data.AnyTrack.app

  2. 📘

    Cross domain settings

    cross domain settings

  3. Format your redirect URL according to the following syntax:

    1. Deeplink base url: https://data.AnyTrack.app/
    2. Propertyid: ?aid=yourpropertyid
    3. Destination URL: &url=https://xxx.thrivecart.com/ebook
https://data.AnyTrack.app/?aid=REPLACEWITHPROPERTYID&url=https://xxx.thrivecart.com/ebook/

Important

Encode the URL with the AutoTag parameter ?passthrough[atclid]=--CLICK-ID--

https%3A%2F%2Fsales.example.com%2F7order%2F%3Fpassthrough%5Batclid%5D%3D--CLICK-ID--
👇

The propertyid is located under your property settings.

  1. Now head to your ClickFunnels account and update your page.
  2. Edit the form Action to Submit the form
  3. Open the page Settings > General and paste your deeplink url in the redirect field.

Track Specific Pages with ViewContent

If you want to track specific pages, use the ViewContent event snippet and AnyTrack will fire the corresponding event to Facebook and other ad platforms.

<script>
var `click_id` = AnyTrack('trigger', 'ViewContent',
{
	label: 'Funnel Step Name',
	linkid: 'Funnel step id',
	brand_name: 'Funnel Name'
});
</script>
📘

Remember

You should update the values in the script in order to get the data in AnyTrack and sent to your Ad platforms.

For example: brand_name will convert to content_name in Facebook and TikTok Conversion API.


⚠️

Before contacting support

Inspect the Integration Event Log to see what errors you are getting and try to fix the integration using the troubleshooting guidelines below.

Client-Side Tracking Options for ClickFunnels

When using ClickFunnels with AnyTrack, a server-side event called Form Submit is automatically triggered each time a form is submitted within your funnel. This process is enabled by the AnyTrack Tag and does not require manual addition of Event Snippets. By default, this feature is activated upon integrating ClickFunnels from the Integration Catalog.

📘

Automatically enabled

Client-side form tracking is automatically enabled for ClickFunnels.

If you need to disable this feature or rename the event, you can easily do so. Simply access the AnyTrack dashboard, go to Property Settings, use the property selector to find your funnel, navigate to the Settings tab, and adjust the Client-Side Tracking Settings for ClickFunnels.

Client-side tracking settings for ClickFunnels are found in Property Settings.

Client-side tracking settings for ClickFunnels are found in Property Settings

Client Side Tracking

Events that are emitted in the browser (client) sending data to the AnyTrack server. The method is used for collecting and sending data from your website to AnyTrack.The AnyTrack Tag automatically tracks sessions and stitches user behavioral events with campaign data.

By default, AnyTrack tracks OutboundClicks and FormSubmit events.

AutoTrack and AutoTag Form Submissions

AutoTrack: This means that any form submission will automatically trigger a FormSubmit event.

AutoTag: This means that the AnyTrack Click ID will automatically be attached to the a contact field, which will enable further Server Side Tracking.

Tag Management

AnyTrack Tag automatically loads and triggers the ad Tracking Tags event snippets connected to your AnyTrack Property.

What it means:

If a FormSubmit event is AutoTracked, it will automatically fire the FormSubmit event to Facebook Conversion API (if you've connected Facebook Pixel to your AnyTrack account)

🚧

Replacing Manual Event Snippets

If you previously placed Facebook Ads event snippets on your funnel to trigger events such as Lead or FormSubmit, AnyTrack now fires these events automatically and sends them via the Conversion API.

Important

Remove all ad platform event snippets from your funnel to prevent duplicate conversions. You can still add the AnyTrack ViewContent snippet if you want to track a specific page or element.

📘

Why this matters

Less code on your site means faster funnel load times. Your event tracking is also standardized across all connected ad platforms and the Conversion API.

Server-Side Tracking

ClickFunnels enables you to sell your products, courses, and coaching sessions and collect payments via Stripe, Paypal, and other gateways.

AnyTrack automatically tracks Purchase and Upsell events through the webhook integration with ClickFunnels.

📘

How server-side purchase tracking works

Once you add the AnyTrack Webhook URL to your funnel settings, every Purchase and Upsell event is automatically tracked. You do not need to integrate AnyTrack separately with Stripe or PayPal — ClickFunnels sends the payment data through its webhooks. Conversions are processed, standardized according to AnyTrack Event Attributes, and sent in real-time to your ad platforms via the Conversion API.

FAQ and Troubleshooting

📘

Note

If you followed the in-app instructions, data should flow without friction. Read through the checklist below and verify your setup.

How do I verify my ClickFunnels is properly integrated?

There are several ways to verify your integration is accurately set up.

In AnyTrack:

  • In the Integration Event Log you should see conversions such as purchases and upsells. If the log shows errors, please check this article to understand what should be adjusted.
  • The Conversion Events Screen (this is where all events are being displayed)

In ClickFunnels

Open a contact and verify that the click_id is set. If it's not, double-check that the AnyTrack tag is properly set up on your funnel.

  • Is AnyTrack able to track a custom form on ClickFunnels?

    Yes, in most cases. However, this is not something we can guarantee since each form provider might have different ways to load on Clickfunnels. Please follow these instructions to track an embed form.
  • I see duplicate conversions in Facebook Event Manager.

    1. That's because you have a Facebook event snippet on your funnel, which also fires conversion to Facebook Pixel. You should remove the Facebook Event snippet. Find out why Tag Management section.
    2. In general, you should see only Server Side Events in the Facebook Event Manager. If you see Browser events it means that an other plugin or system is firing the Facebook pixel and you should disable it.
  • Conversions are not showing in AnyTrack, and the event logs show "ok". Why?

    Using images as "buttons" does not mark the images as buttons, and therefore they are not treated as such by the standard tracking tags.
    In the image link configuration, you should add the following tag to the button url
    next-url#?contact[click_id]=--CLICK-ID--
  • There are no errors in the Event Log, but the number of events between ClickFunnels and AnyTrack reports is not aligned.

    Ensure that the time-zone configuration in your AnyTrack Property matches the time-zone setting in ClickFunnels.
  • I see more purchases events in AnyTrack than in Clickfunnels, but the total revenue is identical.

    AnyTrack maps both Purchase and Upsell events to the standard Purchase event. So if you have one upsell and one purchase, we will track two Purchases, and send Two purchases to Facebook Conversion API. If you want to track these events separately, then map the Upsell event to a custom Upsell event in AnyTrack, and create a Custom Conversions in Facebook.
  • Can I import past conversions into AnyTrack?

    No. AnyTrack can only ingest conversions that have been triggered following a visitor session on your website.
  • The Conversion Event Name is not what I am expecting, how can I change it?

    You can update the Event Mapping in the Integration page.