Skip to content

feat(cli,docs): links to our sites say where they came from - #7178

Merged
michaelwang11394 merged 2 commits into
mainfrom
hf-link-source-tags
Nov 4, 2026
Merged

michaelwang11394 merged 2 commits into
mainfrom
hf-link-source-tags

Conversation

@michaelwang11394

Copy link
Copy Markdown
Contributor

What

Links to our sites now say where they came from. Only the query strings change; no page is restructured.

  • README. Every link to hyperframes.studio, hyperframes.heygen.com and heygen.com carries utm_source=github&utm_medium=readme. These are the values the README's download links already use.
  • README redirects. Three README links pointed at docs redirects that drop the query string: /showcase, /guides/claude-design and /guides/open-design. They now go straight to /examples and to the design-tools guide's "Start from Claude Design or Open Design" section.
  • Docs. The navbar's Community and App changelog links carry src=docs-navbar, the existing navbar value. The export page's reinstall link carries src=docs-export, following the existing docs-* naming.
  • CLI. Links the CLI prints to our sites carry utm_source=cli. These are init's docs links, the Lambda docs link, the publish claim URL and the HeyGen API-key page. A small helper, cliSourced, does this. It leaves other hosts, look-alike hosts and an existing utm_source alone.
  • Discord. Invites stay untagged.

Why

We can't tell which of our surfaces bring people to the docs and the studio. README and docs links carried no source, and among CLI links only the desktop-download link was tagged.

Related work

The install and quickstart pages are left alone, because #6988 already tags their download links. Other open docs PRs touch different lines.

Test plan

  • New sourceTag.test.ts. prebuiltHandler.test.ts is updated for the tagged docs URL.
  • vitest for init, publish, auth, heygen and lambda passes. tsc --noEmit passes.
  • curl on every changed URL returns 200 with the query intact. That check is how the three redirected links were found.
  • A local init build prints https://hyperframes.heygen.com/prompting/overview?utm_source=cli and https://hyperframes.heygen.com/?utm_source=cli. Both pages load with the tag in the URL.
  • Documentation updated.
  • Comments follow CONTRIBUTING.md "Comments". The comment and ratchet checks pass locally.

🤖 Generated with Claude Code

README links to hyperframes.studio, hyperframes.heygen.com and heygen.com
carry utm_source=github&utm_medium=readme, the values the README's download
links already use. Three README links went through docs redirects that drop
the query string (/showcase, /guides/claude-design, /guides/open-design);
they now point at the pages themselves.

The docs navbar's Community and changelog links carry src=docs-navbar, and
the export page's reinstall link src=docs-export, beside the existing docs-*
tags.

Links the CLI prints to our sites (init's docs links, the Lambda docs, the
publish claim URL, the HeyGen API-key page) carry utm_source=cli. Discord
invites stay untagged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mintlify

mintlify Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
hyperframes 🟢 Ready View Preview Nov 4, 2026, 6:37 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Edit accuracy: accurate 267 (base branch 267), smooth 95 of those

The gate passes.
Smoothness is reported in the artifact, not gated. A case fails only if it fails 2 of 3 runs.

Quarantined, measured but not gated (8)

Unstable (1)

  • seqplainkeys-none-px-r0-root-z100: tracking 0.06, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true / tracking 0.06, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true / tracking 0.06, pressJump 0, drop 0, reload 0, render 0.03, renderKey -, undo true, teleport true

@heygengenesis heygengenesis Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE · 0 blocker · 0 important · 1 nit

Only query strings and three redirect targets change. The #start-from-claude-design-or-open-design anchor matches docs/guides/design-tools.mdx:65, and cliSourced leaves look-alike hosts and existing utm_source values alone. Once #7177 lands, v3.ts's hand-written https://app.heygen.com/?utm_source=cli could use cliSourced instead. ↓ inline

— Genesis

Comment thread README.md
| `/style-sampling` | Making a new episode on your topic in one of five proven styles: Collage Explainer, Finance Explainer, Animated Science Explainer, 3D Brand Explainer, 3D True Crime. HyperFrames Pro. |

For visual design handoff workflows, see the [Claude Design guide](https://hyperframes.heygen.com/guides/claude-design) and [Open Design guide](https://hyperframes.heygen.com/guides/open-design).
For visual design handoff workflows, see the [Claude Design guide](https://hyperframes.heygen.com/guides/design-tools?utm_source=github&utm_medium=readme#start-from-claude-design-or-open-design) and [Open Design guide](https://hyperframes.heygen.com/guides/design-tools?utm_source=github&utm_medium=readme#start-from-claude-design-or-open-design).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit — the two links now have the same target, so "Claude Design guide" and "Open Design guide" both land on one section. A single link, e.g. "see Start from Claude Design or Open Design", reads less like a broken pair.

@michaelwang11394
michaelwang11394 added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit fa318d9 Nov 4, 2026
85 checks passed
@michaelwang11394
michaelwang11394 deleted the hf-link-source-tags branch November 4, 2026 23:37

This branch was successfully deployed

1 active deployment
staging - docs — bbc16aeb Deployed Nov 4, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant