Skip to content

Instantly share code, notes, and snippets.

@mhawksey
Created April 20, 2026 08:37
Show Gist options
  • Select an option

  • Save mhawksey/16f27a8a2a4d8c99df38376c3da839d6 to your computer and use it in GitHub Desktop.

Select an option

Save mhawksey/16f27a8a2a4d8c99df38376c3da839d6 to your computer and use it in GitHub Desktop.

UTM Bookmarklet Instructions

This tool adds utm_campaign=deveco_gdemembers and utm_source=deveco to your current browser tab instantly.

Manual Installation

It is a simple process.

  1. Right-click your Bookmarks Bar and select Add Page or Bookmark Manager.

  2. Set the Name to something clear, like "GDE UTM Tags".

  3. Paste the following code into the URL or Address field:

javascript:(function() {
  const url = new URL(window.location.href);
  const params = new URLSearchParams(url.search);
  params.set('utm_campaign', 'deveco_gdemembers');
  params.set('utm_source', 'deveco');
  url.search = params.toString();
  window.location.href = url.toString();
})();
  1. Save the bookmark.

How to use it

Navigate to any page you want to track. Click the bookmark. The page will reload with the tracking parameters appended to the URL. It is tidy. It is fast. It keeps your workflows organised without needing to manually edit strings in the address bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment