User:Thilio/Rabbit URL tracker
From Wikipedia, the free encyclopedia
This script finds citation URLs that include AI-related tracking parameters such as utm_source=chatgpt.com.
The script does not remove or change anything by itself. Its purpose is to help editors notice and review tracking parameters, especially on articles with long reference lists. The script also allows editors to manually add a maintenance tag using a Add button. A X button is included to report false positives or bugs. When you add the maintenance tag the Add button will disappear automatically. Post all questions, feedback and requests on the talk page. |
utm_source=chatgpt.com)(57 days ago)
| Description | Finds and lists citation URLs that contain AI-related tracking parameters (for example, utm_source=chatgpt.com) |
|---|---|
| Author | Thilio |
| Updated | January 18, 2026 (57 days ago) |
| Source | User:Thilio/Rabbit_URL_tracker.js |
Installation
First install User:Enterprisey/script-installer. Then return to this page and click the blue Install button in the infobox.
You may also install the script manually by adding the code below to your Special:MyPage/common.js page:
{{subst:iusc|User:Thilio/Rabbit_URL_tracker.js}}
Testing
You can test the script on this page:User:Thilio/Rabbit_URL_tracker_test
What the script does


The script:
- detects citation URLs that contain AI-related tracking parameters (for example,
utm_source=chatgpt.com) - shows a small notice box near the References section
- lists affected URLs in a Show/Hide area with reference numbers when possible
- provides an Add button to manually add a maintenance template at the top of the article
- provides a X button to report false positives or bugs (opens a new section on User talk:Thilio)
- does not make any automatic edits or automatic cleanup
How to handle tracking parameters
If an editor decides that cleanup is appropriate only the tracking parameter should be removed. The rest of the URL should stay the same.
Example:
https://example.com/article?utm_source=chatgpt.com
may become:
https://example.com/article
Do not remove the full URL unless there is a clear policy-based reason. Editors who remove full citations without justification are responsible for that edit.
Limitations
- The script only detects links that appear as external links in the page output. Some unusual citation formats may not be detected.
- Reference numbers may not always match exactly on pages with unusual reference layouts.
- The script does not judge source quality or reliability. It only detects tracking parameters.