Title: Admin Bar UTM Links
Last modified: April 28, 2026

---

# Admin Bar UTM Links

 *  Resolved [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/admin-bar-utm-links/)
 * Hello,
 * Is there a hook or toggle to prevent the plugin from adding UTM links to the 
   Admin Bar?
 * Beaver Builder, for example, has a link in the Admin Bar which should launch 
   their builder, but because of the UTM querystring it seems to be unable to launch.
   I’d like to be able to disable UTM links in the admin bar entirely if possible.
   Is there a way to do this through either a hook or a setting toggle?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * (@haktansuren)
 * [1 month ago](https://wordpress.org/support/topic/admin-bar-utm-links/#post-18905248)
 * Let me explore this and I will get back to you shortly… [@howdy_mcgee](https://wordpress.org/support/users/howdy_mcgee/)
 *  Plugin Author [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * (@haktansuren)
 * [1 month ago](https://wordpress.org/support/topic/admin-bar-utm-links/#post-18907383)
 * Hi there,
 * This only bites when Append UTM is on. We add utm-out to the body so links get
   your params, and the admin bar lives inside the body, so those links were getting
   them too.
 * We’ll ship a fix in the next release. If you want it now, edit
   `wp-content/plugins/
   handl-utm-grabber-v3/js/handl-utm-grabber.js`(back up first; plugin updates will
   overwrite this until you update).
 * Put this right above <code class=””>function populateLinks():
 *     ```wp-block-code
       function handlUtmIsInsideAdminBar($el) {    return $el.closest('#wpadminbar').length > 0;}
       ```
   
 * Then inside <code class=””>populateLinks():
 * After <code class=””>jQuery(‘.utm-out-js, .utm-out-js a’).each(function(){ add:
 *     ```wp-block-code
       var $el = jQuery(this);if (handlUtmIsInsideAdminBar($el)) return;
       ```
   
 * Same two lines right after <code class=””>jQuery(‘.utm-out, .utm-out a’).each(
   function(){
 * Save, clear any page/cache/CDN if you use that stuff.
 * Cheers and thanks for flagging it.
    -  This reply was modified 1 month ago by [Haktan Suren](https://wordpress.org/support/users/haktansuren/).

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadmin-bar-utm-links%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/handl-utm-grabber/assets/icon-256x256.png?rev=2817979)
 * [HandL UTM Grabber / Tracker](https://wordpress.org/plugins/handl-utm-grabber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/handl-utm-grabber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/handl-utm-grabber/)
 * [Active Topics](https://wordpress.org/support/plugin/handl-utm-grabber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/handl-utm-grabber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/handl-utm-grabber/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * Last activity: [1 month ago](https://wordpress.org/support/topic/admin-bar-utm-links/#post-18907383)
 * Status: resolved