Add UTM parameters in Gravity Forms Email

Not long after we had released our WooCommerce UTM Tracker plugin, a few of our customers have requested that they want to add the UTM campaign parameters in the Gravity Forms Notification.

Hence starting with Version 1.2.5, you can now use merge tags to display out the individual UTM parameters which our plugin collects for each Gravity Form entries.

Display Conversion Attribution Report in Table Form

In our Version 2, you can display all the attribution values in a nice table in your Gravity Forms Notification. Copy and paste the following merge tag into the Admin Notification message.

== Conversion Attribution Report ==

{afl_wc_utm}

Gravity Forms Notification Screen
Gravity Forms Notification
Gravity Forms Email
Gravity Forms Email

Display Only Individual Attribution

If you do not want to display everything in table form, you can copy and paste only the merge tags which you are interested into your Gravity Forms Notification. Give an appropriate text label for each of the displayed value.

Some of the merge tags below are only available in version 2.

== SESSION ==

Conversion Type:
{afl_wc_utm:conversion_type}

Conversion Lag:
{afl_wc_utm:conversion_lag_human}
{afl_wc_utm:conversion_lag}

Conversion Date:
{afl_wc_utm:conversion_date_local}
{afl_wc_utm:conversion_date_utc}
{afl_wc_utm:conversion_ts}

Visit Date:
{afl_wc_utm:sess_visit_date_local}
{afl_wc_utm:sess_visit_date_utc}
{afl_wc_utm:sess_visit}

Landing Page:
{afl_wc_utm:sess_landing}
{afl_wc_utm:sess_landing_clean}

Website Referer:
{afl_wc_utm:sess_referer}
{afl_wc_utm:sess_referer_clean}

Google Analytics Client ID:
{afl_wc_utm:sess_ga}

== UTM CAMPAIGN (FIRST TOUCH) ==

UTM URL:
{afl_wc_utm:utm_1st_url}
{afl_wc_utm:utm_1st_url_clean}

Visit Date:
{afl_wc_utm:utm_1st_visit_date_local}
{afl_wc_utm:utm_1st_visit_date_utc}
{afl_wc_utm:utm_1st_visit}

UTM Source: {afl_wc_utm:utm_source_1st}
UTM Medium: {afl_wc_utm:utm_medium_1st}
UTM Campaign: {afl_wc_utm:utm_campaign_1st}
UTM Term: {afl_wc_utm:utm_term_1st}
UTM Content: {afl_wc_utm:utm_content_1st}

== UTM CAMPAIGN (LAST TOUCH) ==

UTM URL:
{afl_wc_utm:utm_url}
{afl_wc_utm:utm_url_clean}

Visit Date:
{afl_wc_utm:utm_visit_date_local}
{afl_wc_utm:utm_visit_date_utc}
{afl_wc_utm:utm_visit}

UTM Source: {afl_wc_utm:utm_source}
UTM Medium: {afl_wc_utm:utm_medium}
UTM Campaign: {afl_wc_utm:utm_campaign}
UTM Term: {afl_wc_utm:utm_term}
UTM Content: {afl_wc_utm:utm_content}

== Google Click Identifier (gclid) ==

URL:
{afl_wc_utm:gclid_url}
{afl_wc_utm:gclid_url_clean}

Visit Date:
{afl_wc_utm:gclid_visit_date_local}
{afl_wc_utm:gclid_visit_date_utc}
{afl_wc_utm:gclid_visit}

gclid Value:

{afl_wc_utm:gclid_value}

== Facebook Click Identifier (fbclid) ==

URL:
{afl_wc_utm:fbclid_url}
{afl_wc_utm:fbclid_url_clean}

Visit Date:
{afl_wc_utm:fbclid_visit_date_local}
{afl_wc_utm:fbclid_visit_date_utc}
{afl_wc_utm:fbclid_visit}

fbclid Value:

{afl_wc_utm:fbclid_value}

== Microsoft / Bing Click Identifier (msclkid) ==

URL:
{afl_wc_utm:msclkid_url}
{afl_wc_utm:msclkid_url_clean}

Visit Date:
{afl_wc_utm:msclkid_visit_date_local}
{afl_wc_utm:msclkid_visit_date_utc}
{afl_wc_utm:msclkid_visit}

msclkid Value:

{afl_wc_utm:msclkid_value}

Warning: Careful not send this notification to your users because you do not want your users to know how you track your marketing campaigns.