AFL UTM Tracker Documentation

  1. Home
  2. Docs
  3. AFL UTM Tracker Documentation
  4. Calendly Integration
  5. Calendly Inline Widget

Calendly Inline Widget

You can use our AFL UTM Tracker plugin to pass dynamic UTM parameters to your Calendly Inline Widget placed in your WordPress website.

A Calendly Inline Widget allows you to embed Calendly’s full scheduling UI directly into your page layout.

Minimum Requirements

  • AFL UTM Tracker v 2.23.0
  • WordPress 5.0.0 or higher.

Steps

If you have an existing Calendly Inline Widget code on your website, save the code somewhere first.

  1. Copy and edit the Calendly Inline Widget HTML code below.
  2. On Line 3, paste your own Calendly URL into the data-url=”” attribute.
  3. On Line 4, make adjustments to the CSS style=”” attribute to fit the widget to your website layout.
  4. On Line 5, decide if you want to pass First Touch or Last Touch UTM parameters to Calendly (refer setting options below).
  5. On Line 7, replace the MYDOMAIN_NAME with your website URL. This will load our plugin script for Calendly.
  6. In your page editor, placed a “Custom HTML” component into your page layout and paste the code.
  7. Save page.
  8. Run a test on your Calendly Inline Widget.

NOTE: Make sure that you do not remove the class=”calendly-inline-widget”.

Attribution Model Setting

Pass Last Touch UTM parameters to Calendly

On Line 5, change the data-attribution_model attribute to “last”.

data-attribution_model="last"

Pass First Touch UTM parameters to Calendly

On Line 5, change the data-attribution_model attribute to “first”.

data-attribution_model="first"