Commit Graph
4 Commits
Author SHA1 Message Date
Ular Kimsanov 6b602495db docs: every link to hyperframes.studio carries where the visit began, shared with the homepage (#7580)
* docs: every link to hyperframes.studio carries where the visit began, shared with the homepage

The visit's first source now lives in the homepage's 30-day hf_hub_landing
cookie (.heygen.com) instead of a per-tab sessionStorage key, so a visit that
moves between the homepage and the docs keeps it either way. Pricing,
changelog and community links carry it too; ph_id stays on downloads only.
Tags over 64 characters are left out, as hyperframes.studio drops them.

* docs: tag studio links when the context menu opens; cap saved tags on read

Open in new tab and Copy link take the href as the menu opens, so the source
goes on then (never ph_id). Saved campaign values get the same 64-character
cap as fresh ones.

* docs: a right-click no longer makes a Card's next click drop the source

The menu left the source on the Card's DOM href, so the next click found
nothing to add and returned before following the Card itself, which opens its
own untagged href prop. Compare against the address the link had before the
menu tagged it.
2026-11-12 03:31:46 +00:00
Ular Kimsanov 4ba47aaa12 docs: download links name where the visit began (#7197)
* docs: download links name where the visit began

Docs download links carry the visit's source (ref, utm_*, ad-click kind), like the
homepage's links. Mintlify's Card download button now carries them and the PostHog id
it was dropping.

* docs: keep the attribution comment to public names

* docs: take over only the Card's click, so Mintlify's own link handlers still run

Stopping every download click hid the navbar CTA's docs.navitem.cta_click. Only Mintlify's
Card (data-client-link) ignores a changed href; every other link is followed by the browser
from the tagged href, as before. A source restored from storage carries only its own names.
2026-11-05 04:47:19 +00:00
Ular Kimsanov 6ae7c7688c docs: links point at hyperframes.studio, the app's new home (#6585)
* docs: links point at hyperframes.studio, the app's new home

* docs: the registry guide publishes to hyperframes.studio

* chore: format README table, regenerate the skills manifest

* docs: leave the browser editor's card wording for its own change
2026-10-27 20:08:22 +00:00
James RussoandClaude Opus 5.5 25b7cbd453 feat(docs): download links carry the docs visitor's PostHog id (#6468)
* feat(docs): download links carry the docs visitor's PostHog id

hyperframes.dev counts each Studio download in PostHog, but it cannot read the
docs' posthog cookie (another domain), so a download clicked here lands under
an id with none of this visit's pageviews. A docs script now adds the id as
ph_id when a download link is clicked, and puts the link back afterwards so a
copied link never carries it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(docs): forward the PostHog id only to the download URL, and only with consent

The id now goes only to https://hyperframes.dev/studio/download, the one
address the docs link to, never another subdomain or plain http. It is not
forwarded when PostHog is not running on the page, when the visitor opted out
of PostHog capture, or when the browser sends Do Not Track or Global Privacy
Control.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-26 19:39:07 +00:00