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