Removes ?utm_source=chatgpt.com from URLs on OpenAI and ChatGPT domains
This script automatically removes the ?utm_source=chatgpt.com tracking parameter from links on ChatGPT and OpenAI domains. This ensures that any external link you click, copy, or share is clean and free of this specific UTM tracker, giving you shorter and cleaner URLs.
utm_source parameter from the current page's URL in your address bar (using history.replaceState to avoid a page reload).MutationObserver to automatically find and clean new links that are added to the page dynamically (e.g., inside new chat responses).document-start and has no external dependencies, ensuring minimal performance impact.chatgpt.com or openai.com as you normally would.This script is designed to work on all pages within the following domains:
It is compatible with any modern browser that supports a userscript manager, such as:
utm_source from links on click, on page load, and in dynamic content.