# Calendly Conversion Tracking

> Learn how to track Calendly bookings after a purchase using AnyTrack. This guide covers integrating ClickFunnels and Calendly to ensure accurate cross-device tracking and attribution for your marketing campaigns.

Some marketing flows are complex but worth the effort for greater agility and data collection. Consider this scenario: you sell coaching sessions, masterclasses, or one-on-one services. Your entry offer is a 20-minute session to upsell a high-value package. You advertise across platforms, drive purchases of your entry-level ticket, then invite buyers to book sessions. This requires tight tool integration to track and attribute all steps correctly.

> 📘 **Note**
>
> If you are looking for the standard Calendly integration with AnyTrack (without a purchase step), see the [Calendly integration guide](/docs/calendly).

<Prerequisites
  title="Before you begin"
  items={[
    { label: "You have an active AnyTrack account with a paid subscription", done: true },
    { label: "You have an active ClickFunnels account", done: true },
    { label: "You have an active ActiveCampaign account", done: true },
    { label: "The AnyTrack Tracking Tag is installed on your website", done: true },
  ]}
/>

## Scenario Overview

* **Your Offer**: A 20-minute coaching session to upsell higher-value services
* **Marketing Tools**:
  * **[ClickFunnels](/docs/clickfunnels2)**: Where people sign up and buy your entry-level ticket
  * **Calendly**: Where people book sessions
  * **ActiveCampaign**: Where you manage sales, CRM, and email campaigns

## Track Calendly Bookings After a Purchase

Ensure AnyTrack tracks when someone books a Calendly session after purchasing. Here is how:

1. **Create a Custom Field in Your Email Platform**:
   In ActiveCampaign, create a custom field called `sfid` to store the tracking ID.

2. **Pass the Click ID from ClickFunnels to ActiveCampaign**:
   Ensure your ClickFunnels and ActiveCampaign integration passes the `click_id` from purchase to the `sfid` field in ActiveCampaign.

3. **Update the Calendly Link in Your Emails**:
   Modify the Calendly booking link to include the `click_id`: `https://yourcalendlylink.com?sfid=%click_id%`

   When the recipient clicks and books a session, AnyTrack tracks and attributes the booking to the original campaign.

## Alternative Approach

**Embed Calendly in Your Funnel**: Embed the Calendly calendar directly in your funnel pages for automatic booking tracking. For accurate cross-device tracking, include the `click_id` in URLs sent from email campaigns.

> 📘 **Note**
>
> Email marketing platforms have slight setup variations, but the general process and concept is similar across platforms.

## Technical Details

Pass specific parameters through your links to ensure accurate cross-device and cross-platform tracking.

### Cross-Device Tracking Parameter

When recipients open and click through on different devices (like mobile), pass the parameter `atclid=clickidvalue` in email links. The `clickidvalue` is the unique identifier AnyTrack passes to the ClickFunnels form and then to ActiveCampaign.

```
https://yourlandingpage.com?atclid=clickidvalue
```

### Direct Calendly Link Parameter

When directing users to your Calendly booking page, use the parameter `sfid=clickidvalue`. This ensures accurate tracking back to the original click ID.

```
https://yourcalendlylink.com?sfid=clickidvalue
```

Implementing these parameters allows AnyTrack to accurately track user actions across devices and attribute conversions to the correct campaigns, giving you clear funnel performance data.

> 📘 **Note**
>
> This guide covers a specific workflow using ClickFunnels and ActiveCampaign. The [AutoTag](/docs/autotag) feature can simplify tracking for many Calendly setups by automatically appending the click ID to your links.

<FaqAccordion
  title="FAQ and Troubleshooting"
  icon="fa-duotone fa-circle-question"
  items={[
    {
      question: "Do I need a paid AnyTrack plan for this workflow?",
      answer: "Yes. Cross-device tracking and the Calendly integration require a paid AnyTrack subscription. The Free plan does not support this workflow."
    },
    {
      question: "Can I use a different email platform instead of ActiveCampaign?",
      answer: "Yes. The concept is the same across email platforms. You need a custom field to store the <code>click_id</code> and the ability to insert that field value into your Calendly booking links."
    },
    {
      question: "What if I do not use ClickFunnels as my funnel builder?",
      answer: "The same approach works with any funnel builder that captures the <code>click_id</code> and passes it to your email platform. The key requirement is that the click ID flows from the purchase step to the booking link."
    },
    {
      question: "How does AnyTrack attribute a Calendly booking to the original ad click?",
      answer: "AnyTrack generates a unique <code>click_id</code> when a visitor lands on your site. That ID is passed through your funnel to ActiveCampaign, then included in the Calendly booking link via the <code>sfid</code> parameter. When the booking happens, AnyTrack matches the <code>sfid</code> back to the original session."
    },
    {
      question: "Can I use the standard Calendly integration instead of this manual setup?",
      answer: "Yes, if your flow does not involve a purchase step before booking. The standard <a href='/docs/calendly'>Calendly integration</a> tracks bookings automatically using the AnyTrack Tracking Tag and AutoTag."
    }
  ]}
/>

<Cards columns={2}>

  <Card title="Calendly Integration" href="/docs/calendly" icon="fa-calendar-clock" iconColor="blue-500">
    Set up the standard Calendly integration with AnyTrack.
  </Card>

  <Card title="AutoTag" href="/docs/autotag" icon="fa-tags" iconColor="blue-500">
    Learn how AutoTag automatically appends click IDs to your links.
  </Card>

</Cards>
