Skip to main content

Track UTMs in Pipedrive from WordPress Forms

UTM attribution overview

HandL UTM Grabber stores campaign data in the browser. This guide shows how to get that data into Pipedrive UTM Tracking Integration using hidden fields on your WordPress forms.

Pipedrive UTM Tracking Integration and UTMs

Pipedrive does not fill lead source on its own. Most teams add custom Person fields and hope reps type something in. You can do better by capturing UTMs on the WordPress form and mapping them into Pipedrive automatically.

Steps

Setup

  1. In Pipedrive, add Person custom fields: utm_source, utm_medium, utm_campaign, gclid, fbclid (match Native WP Shortcodes)
  2. Add hidden fields with the same names on your WordPress form
  3. Send submissions via your form plugin, Zapier, or WP Fusion into Pipedrive with field mapping

Prefill hidden fields

UTM Grabber fills inputs whose name matches a tracked parameter. Field names must line up exactly. List of params: Native WP Shortcodes.

<script>
jQuery(document).ready(function() {
    if (typeof handl_utm === 'undefined') return;
    handl_utm_all_params.forEach(function(param) {
        var val = handl_utm[param] || (typeof Cookies !== 'undefined' ? Cookies.get(param) : '');
        if (val) jQuery('input[name="' + param + '"]').val(val).change();
    });
});
</script>

No shortcode setup? See Hassle Free Implementation.

Need every click ID in your CRM? Jump to Send Pipedrive UTMs via Zapier Webhook.

Never lose any UTMs ever 💪

Get HandL UTM Grabber V3