An unofficial, browser-based UTM builder and personal campaign library for GitHub Learn and other HTTPS sites. No account, Copilot installation, server, or production build is required. This project is not affiliated with or endorsed by GitHub.
Share the How to use guide with teammates for numbered instructions, channel guidance (including Learning path and Skills), a worked example, QR sharing, library management, backups, and dashboard explanations. The example is illustrative; it does not create stored records. The navigation is How to use | Create link | Link library | Initiatives | Dashboard. The main site still opens Create link by default; the direct guide URL opens How to use, including after a refresh.
- Enter a campaign, or create/select an optional initiative with a fixed campaign key.
- Enter any HTTPS destination (
https://learn.github.com/remains the default), choose an email, QR, event, social, partner, learning path, or Skills preset, and describe the placement. - Review the exact URL and green QR preview, then Generate & save link. The preview already contains the final ID. Copy link, Download SVG, Download PNG and Copy image also save that record once. Scan-test codes before distributing or printing, retaining the white border.
Every saved link gets a QR code, across all seven presets and custom channels.
Channels describe distribution/attribution, not which outputs are available.
Rendering or downloading a QR never switches the medium to qr, changes any
labels or the unique ID, or creates another record. QR code in Link library
uses the same rendering for existing saved URLs.
By default, QRs use square green modules, darker finder patterns, a white four-module quiet zone, and a small centered GitHub mark on white. The 2,200-character URL limit is unchanged: byte-mode error correction is H up to 1,273 characters, Q up to 1,663, and M for longer URLs. The logo backing is capped at 17, 13, or 11 modules respectively, so dense codes at lower correction lose very little data. Long URLs produce dense codes; a small screen preview may be too dense to scan. Enlarge the SVG rather than printing a small preview. Scan-test the final size and material with the devices you expect people to use. No styling or error correction guarantees universal scanning. If QR generation fails, the saved URL remains available; an explicit error directs you to retry from Link library instead of saving a duplicate.
The Learning path preset defaults both Source and Channel to learning_path.
The Skills preset defaults both to skills (utm_source=skills and
utm_medium=skills). As with every preset, both fields remain editable before
saving. Both channels are also available as suggestions in the Channel field.
The Social preset uses Source social and Channel linkedin. The labels still
mean utm_source and utm_medium; both remain editable. Existing links, including
older Source linkedin / Channel social records, keep their exact URLs and labels.
Channel filters and dashboard groups use the actual saved Channel value.
Defaults lowercase values and replace spaces with underscores, with
learn_link_id enabled. The normal form automatically replaces old standard
tracking tags. Advanced settings (optional) starts collapsed and contains
existing-tag policies, Campaign ID, custom parameters, link-ID settings and
formatting. Closing it never resets values; a compact summary identifies active
nondefaults, and reopening a saved link reveals its nondefault settings.
Hyphen, trim-only and unchanged formatting are optional.
Add utm_id, up to 20 custom parameters, or configure/disable the link-ID key and
value. Internal record IDs remain independent. Existing-label modes: Learn
default (replace standard UTMs and Learn ID), replace entered fields only, keep
existing/fill missing, or strip every utm_* before applying fields. An explicit
action moves existing UTMs into fields. Unrelated query parameters and full hash
routes remain intact. A selected initiative's fixed campaign cannot conflict
with a kept destination campaign. The QR-distribution checkbox changes medium
only when explicitly selected; image generation never changes it.
Open reopens a saved URL/ID exactly. Editing builder fields creates a new record; Edit details changes only title/notes, and Save QR design to this link updates only image settings. Download/copy again without edits does not create another record. Titles/notes are optional. New link starts a fresh draft.
App theme and QR theme each support System/Light/Dark independently. QR themes have separate light/dark palettes. Built-in green/high-contrast/Mono styles and saved custom presets include module/finder/center/background colors, six module shapes, three finder shapes, two finder-center shapes, quiet zone, error correction and center-image settings. The default quiet zone is four modules.
Automatic correction uses H/Q/M according to byte capacity without lowering the 2,200-character URL limit; forcing L/M/Q/H fails explicitly if the payload cannot fit. A small preview can be too dense to scan. The local jsQR decoder compares actual rasterized output at 256, 512 and 800 px to the complete payload, with contrast, coverage and border guidance. No automatic contrast manipulation hides a failed scan. Passing checks do not guarantee every camera, size or material.
Use the licensed GitHub mark, no logo, or a local PNG/JPEG/WebP/SVG up to 10 MB. Upload/drop/paste within the image area, trim transparent edges, choose saved images, backdrop (circle/rounded square/square/none), tint, size and padding. Images are validated before decode, limited to 8192 px per side / 16 MP, flattened to PNG up to 512 px and stored locally. SVG is allowlisted: no scripts, event handlers, styles, external references, entities, fonts or embedded active content. Unsupported SVG should be flattened to PNG externally first. Referenced images cannot be deleted while used by records, presets or saved preferences.
PNG/SVG/image clipboard use the selected 512/800/1024/2048 px size. Export snapshots are guarded against stale URL/style changes. Image clipboard depends on browser support and permission; failures are explicit, with downloads as an alternative.
New links and their QR codes use the tagged destination URL. Historical short-link metadata remains in storage, JSON backups and CSV exports. Existing saved QR targets remain unchanged, including through design-only edits or preset changes. The read-only Encoded URL displays the actual QR contents. The earlier gh.io/Slack controls have been removed; no short-link management is available.
All HTTPS hosts are supported, including
https://portal.github.partners/#/page/universe-2026. Tracking parameters are
added to the URL query before #, not inside the hash route. For example:
https://portal.github.partners/?utm_source=example&utm_medium=email&utm_campaign=example&learn_link_id=example-id#/page/universe-2026
Non-HTTPS schemes, embedded credentials, and nondefault ports are rejected. For HTTP input, Switch to HTTPS explicitly updates the draft scheme; it does not verify that the destination supports HTTPS or alter any saved record. Explicit HTTPS port 443 is accepted and normalized away. Supporting a host does not verify its safety or whether its analytics reads these parameters; check that you trust the destination before sharing. The tool does not visit or validate the destination's content or sign-in behavior.
Search and filter saved links, group them by initiative, duplicate a record to create a new ID, or archive and restore records. Archiving does not revoke the URL. Delete/clear-library require confirmation and remove local records only. Initiative metadata is editable but keys are fixed; referenced initiatives cannot be deleted. No-initiative links appear in filters and active coverage. Dashboard totals include saved/active/archived/initiatives and active channel/initiative counts, never traffic.
Each browser profile starts with an empty library stored locally in IndexedDB.
The database is named learn-campaign-links. Data is scoped to this browser and
origin, not shared with a team or synchronized between devices. Other sites on
the same GitHub Pages origin have the browser's same-origin storage privileges;
do not treat this as encrypted storage or store secrets.
There is no automatic team, Excel, or SharePoint synchronization. Sharing the guide URL shares instructions, not your library. CSV is for reporting; use JSON backup/import to preserve or transfer records between browsers.
Clearing site data, private browsing, browser storage eviction, or losing access to your browser profile can remove the library. Download JSON backups regularly, and keep them in a location appropriate for your campaign data. Changing the site's origin does not migrate your library; export first and import on the new site.
- Download backup saves the complete version 2 JSON library, including QR designs, custom fields, historical short-link metadata, settings, images and presets.
- Import backup validates a local file and asks before merging. Existing
records are kept unchanged. Campaign keys are matched, conflicting IDs or QR designs are
rejected atomically, and repeat imports do not create duplicate links.
Version 1 exports from this website and the original local link manager are
migrated on read without changing URLs or IDs. The next successful write
persists version 2 atomically; failed migrations never overwrite the database.
Existing Learn links, IDs, and URLs stay unchanged; no migration is needed
for libraries containing both Learn and other HTTPS destinations.
Only known library fields are retained. Backup preferences are restored;
conflicting image/preset IDs are rejected atomically. Studio's differently
shaped
app: utm-qr-studiobackups are explicitly unsupported, not silently imported with lost fields. Keep using Learn backups for preservation/transfer. - Export all CSV includes every link, including archived records and notes. Spreadsheet formula prefixes are neutralized. Click counts stay blank.
Reads and writes use IndexedDB transactions, so concurrent tabs cannot overwrite one another's stale library snapshots. BroadcastChannel refreshes open tabs without sending library content; tab focus and the Refresh button also reload the latest state. Storage errors and corrupt data are shown explicitly, never silently replaced with an empty library or claimed to be saved.
Limits: 1,000 initiatives, 20,000 links, and 20 MB for the complete formatted JSON backup, whichever is reached first. Writes that would exceed the backup limit are rejected, keeping the library restorable. Imports are capped at 20 MB. Generated URLs are capped at 2,200 characters for QR capacity. Additional limits: 100 saved images and 100 presets; 1.5 MB maximum encoded PNG per stored image; all images/presets count toward the same 20 MB complete backup limit.
The application does not upload your library, import files, notes, or generated
URLs. There are no analytics scripts, tracking pixels, remote fonts, external QR
services, cookies, credentials, or backend APIs in the tool. QR generation uses
the vendored MIT-licensed qrcode-generator 2.0.4; its source, integrity, and
license metadata are pinned in dependencies.json. The official GitHub mark
comes from the MIT-licensed Octicons mark-github-16,
bundled locally with its source and full license in vendor/github-mark.mjs.
Every downloaded SVG also embeds that attribution and license. Use of the mark
does not imply GitHub endorsement.
GitHub Pages receives ordinary requests for the public site and its static assets, subject to GitHub's hosting policies. Copying a link uses your system clipboard; downloads create local files. Opening or sharing a generated link discloses its URL parameters to the recipient and to the destination site. Never put personal information or secrets in URL parameters. Backups and CSV files include notes. The page's content security policy blocks application network connections.
There are no real, simulated, estimated, or zero-filled traffic figures. UTMs and link IDs label URLs; they do not count clicks. A separate approved analytics integration would need to capture destination events and preserve attribution, including through sign-in. Attributed visits are not click counts.
Alternatively, a separately hosted and approved redirect service could record link opens before forwarding to the destination. It would need privacy, access, retention, and bot-filtering controls. No such service is included. Already distributed direct links cannot retroactively become tracked redirects, and QR requests are not the same as camera recognition.
Production consists only of index.html, styles.css, app.mjs, core.mjs,
storage.mjs, studio.mjs, images.mjs, qr.mjs, favicon.svg, and the QR/icon/decoder vendors. The optional development tools
require a current Node.js LTS release:
npm ci
npm run version:assets
npm test
npx playwright install chromium webkit
npm run test:browser
npm run serveThe preview is at http://127.0.0.1:48317/github-learn-link-generator/, deliberately
using the production subpath. The test-only Node static server is not a backend
and is not used on Pages. Browser tests use isolated profiles and synthetic
fixtures to cover persistence, concurrent tabs, backup restore, rollback,
invalid input, HTTPS host support and portal hash routes, exact decoding of
branded QR previews/downloads with the independent test-only jsQR decoder,
all channels and short/long URLs through the full 2,200-character limit,
clipboard errors, storage failures, text safety,
responsive layouts, guide navigation and example accuracy, and the absence of
campaign-data network requests.
The Apache-2.0 jsQR 1.4.0 decoder is pinned to its official repository commit and
bundled locally for automatic checks of generated QR codes. Its license and SHA-256 are in
vendor/jsqr-LICENSE and dependencies.json. Test decoding also uses the pinned
independent package. No reference Studio application source or branding was copied.
To run the same browser checks against a deployment without modifying anyone's existing browser library:
SITE_URL=https://v-giulianogemero.github.io/github-learn-link-generator/ npm run test:browserPublish this public repository from Settings > Pages > Deploy from a branch >
main > / (root) with HTTPS enforced. .nojekyll enables direct static serving.
All application asset paths are relative, so the repository subpath works
without rewriting URLs. There is no bundler or secrets configuration.
After changing browser code, styles, vendors or HTML asset references, run
npm run version:assets and commit its changes. This dependency-free command adds
content hashes to asset URLs throughout the ES-module import graph and HTML.
Changed dependencies update their importers' hashes, so a new page does not reuse
an old script from the Pages/browser cache. npm test rejects outdated hashes.
Preset selection and pressed-state handling share the same validated defaults.
The button markup remains compatible with previously cached HTML.
After a deployment, an already-open page may still run its previous release. Reload it to get the new page; if necessary, use a hard refresh (Cmd+Shift+R on macOS or Ctrl+Shift+R on Windows/Linux). Do not clear site data: refreshing does not delete your library, but clearing site data does.
Commit and push to main normally, without force-pushing. Check the Pages build
and deployed assets before announcing an update. Never commit browser exports,
saved libraries, private campaign data, or local environment configuration.