Skip to content

feat(web): mirror Heap + GA4 analytics from cli.deepgram.com#39

Merged
lukeocodes merged 1 commit into
mainfrom
feat/analytics-heap-ga4
May 13, 2026
Merged

feat(web): mirror Heap + GA4 analytics from cli.deepgram.com#39
lukeocodes merged 1 commit into
mainfrom
feat/analytics-heap-ga4

Conversation

@lukeocodes
Copy link
Copy Markdown
Member

Summary

ui.deepgram.com was missing the analytics setup that landed on cli.deepgram.com in deepgram/cli@e736528 (Heap) + deepgram/cli@a6468e4 (real GA4 ID). Same IDs, same inline-script pattern, dropped into the `` of `apps/web/src/pages/index.astro`.

  • Heap appid: `765739241`
  • GA4 measurement ID: `G-TYPC1TBCKT` (`*.deepgram.com` property)

Diff

Only `apps/web/src/pages/index.astro` changed — 15 lines added, nothing removed. No new deps, no config changes elsewhere. The scripts are self-contained inline just like on cli.

Verification

  • `bun run build` clean
  • `heap.load("765739241")` and `gtag('config', 'G-TYPC1TBCKT')` both render in `dist/index.html`
  • Snippet is byte-identical to the cli counterpart aside from the `for ui.deepgram.com` comment

ui.deepgram.com was missing the analytics setup that landed on
cli.deepgram.com back in e736528. Same IDs, same inline-script
pattern, dropped into the <head> of apps/web/src/pages/index.astro:

  Heap appid       765739241
  GA4 measurement  G-TYPC1TBCKT  (*.deepgram.com property)

Build is clean and both snippets render in dist/index.html. No deps
added, no config changes elsewhere — the scripts are self-contained
just like on cli.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ui-web Ready Ready Preview, Comment May 12, 2026 0:35am

Request Review

@lukeocodes lukeocodes merged commit 91eb692 into main May 13, 2026
3 checks passed
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