How to Append UTM? Appending UTM Globally with HandL UTM Grabber UTM attribution overview This guide explains Appending UTM Globally with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales. 1.Click UTM, check the "Append UTM" box in the HandL Options tab and save changes NOTE: This may not work for some of the themes that are not using native wp_content filter. Or may not work for some of the Content builder plugin. If this method does not work, you can always append UTMs individually to your loinks an buttons using class variables utm-out . Please see Appending UTMs to the buttons using class name attributes for more. Appending UTMs to the buttons using class name attributes (Selectively) with HandL UTM Grabber UTM attribution overview This guide explains Appending UTMs to the buttons using class name attributes (Selectively) with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales. If you have a button or link that you would like to append all the collected UTMs to. Use the class variable utm-out as it is shown below. This technique is extremely useful if you are sending out traffic (ouf of your domain). Or you want to specifically append UTMs to some links. HandL UTM Grabber automatically scan all the links and buttons having utm-out class and append all the UTMs automatically so your final URL will be like this. utm-out also works if it is at the parent level. For example
This will also populate all the UTMs like this
Appending UTMs to the Iframe src with HandL UTM Grabber UTM attribution overview This guide explains Appending UTMs to the Iframe src with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales. You can append all the UTMs to your target website URL within iframe. This is actually very helpful, if you are using iframe for your optin forms and you would like to pass the UTM values captured to prefill your form. It works very simple. Your iframe code normally look like this simply add the utm-src class to your iframe like this And you are good to passing all the UTMs to your iframe URL :) Appending UTMs using Shortcode with HandL UTM Grabber UTM attribution overview This guide explains Appending UTMs using Shortcode with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales. If none of the other propsed solutions here How to Append UTM? worked, you can always pull the UTM parameters using the shortcode. For example
Append UTMs upon DOM change with HandL UTM Grabber UTM attribution overview This guide explains Append UTMs upon DOM change with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales. Here is an example of snippet you can use to append UTMs upon a DOM change. This requires advance coding skills. setTimeout(function(){ var target = document.querySelector('#storepoint-results') var observer = new MutationObserver(function(mutations) { console.log(jQuery(target).find('.storepoint-onlinestore').length) if ( jQuery(target).find('.storepoint-onlinestore').length > 0 ){ var a = jQuery(target).find('.storepoint-onlinestore') var target_url = a.attr('href') var merged = jQuery.extend( {}, handl_utm, getSearchParams(target_url) ) var src = target_url.split("?")[0]; if ( !jQuery.isEmptyObject(merged) ){ var final_target = src + "?" + jQuery.param(merged) } a.attr('href', final_target) } }); var config = { attributes: true, childList: true, characterData: true }; observer.observe(target, config); }, 500); Selecting specific parameters for append utm with HandL UTM Grabber UTM attribution overview This guide explains Selecting specific parameters for append utm with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales. In some rare instances, you might want to specify certain parameters to append and exclude the rest. Make your selections below, and only the chosen parameters will be appended to the links. This also applies to the utm-out, utm-out-js and utm-src feature. If no selection is made below, all parameters will be appended by default. Simply click Append UTM tab: Select the fields you'd like to append. Save the form. Only the selected paramters will be appended to your links. Skip Appending UTMs on Some Links with HandL UTM Grabber UTM attribution overview This guide explains Skip Appending UTMs on Some Links with HandL UTM Grabber. It helps you capture UTM source, medium, campaign, term, content, click IDs, referrer, and landing page data and keep the marketing context needed for accurate reporting across forms, bookings, signups, and sales. The no-utm class is used to exclude specific links or elements from having UTM parameters appended to them by the handl-utm-grabber plugin. This can be useful in scenarios where you do not want tracking parameters to be added to certain URLs, such as internal links, mailto links, or other special cases. Usage To prevent UTM parameters from being appended to a link or element, simply add the no-utm class to the HTML element. Example Example Link In this example, the link to https://example.com will not have any UTM parameters appended to it by the handl-utm-grabber plugin. Detailed Explanation The handl-utm-grabber plugin scans the page for links and elements to append UTM parameters for tracking purposes. By adding the no-utm class, you instruct the plugin to skip these elements during its processing. Common Use Cases Internal Links: Prevent UTM parameters from being added to internal navigation links. About Us Mailto Links: Avoid appending UTM parameters to email links. Contact Us Telephone Links: Exclude UTM parameters from phone number links. Call Us Special Cases: Any other links or elements where tracking is not desired. Special Case By using the no-utm class, you can have finer control over which links and elements are tracked with UTM parameters, ensuring that only the desired URLs are included in your tracking strategy.