Skip to content

feat(site): add hellyeah x-ray analytics - #83

Draft
hellyeah-ai[bot] wants to merge 1 commit into
mainfrom
hellyeah/xray-tracking-9b684862
Draft

feat(site): add hellyeah x-ray analytics#83
hellyeah-ai[bot] wants to merge 1 commit into
mainfrom
hellyeah/xray-tracking-9b684862

Conversation

@hellyeah-ai

@hellyeah-ai hellyeah-ai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Adds Hellyeah X-Ray tracking to the Tastemaker marketing site. Static HTML with no build step, so instrumentation is the hosted script.js tag plus declarative data-hy-event attributes on real conversion surfaces. Not runtime verified, the deploy is what makes events flow.

Installation plan

Roots

Root Path Framework Semantic Role Instrumentation Notes
site/ Static HTML, no bundler Marketing site for Tastemaker Hosted X-Ray script.js in <head>, data-website-id literal, data-env="prod" Mounted on index.html, changelog.html, demo.html. Tracker id baked in as literal 019fb841-9613-7000-83b7-b00980fe8cdd since a static tag cannot read env.

Planned Events

Source File Event Name Kind Identity Bridge Rationale
site/index.html pageview Mount None, anonymous cookie Hosted script mount for pageview capture.
site/changelog.html pageview Mount None, anonymous cookie Hosted script mount for pageview capture.
site/demo.html pageview Mount None, anonymous cookie Mount only. CTAs are href="#" placeholders for a fictional demo product.
site/index.html star_intent Conversion None, anonymous cookie Header GitHub link click, closest provable proxy for a star.
site/index.html star_intent Conversion None, anonymous cookie Footer GitHub link click.
site/changelog.html star_intent Conversion None, anonymous cookie Header GitHub link click.
site/changelog.html star_intent Conversion None, anonymous cookie Footer GitHub link click.
site/index.html install_command_copied Conversion None, anonymous cookie Hero copy button.
site/index.html install_command_copied Conversion None, anonymous cookie Install-section copy button.
site/index.html cv_begin_checkout Conversion None, anonymous cookie Unlock the modes button, navigates to the hosted Polar checkout.

Identity bridge: none. Static site with no server and no auth, visitors are carried by the hosted script's anonymous cookie. No server conversion sites exist, so no server SDK singleton and no browser-to-server bridge apply.

Coverage gaps

  • Confirmed GitHub star: the requested conversion happens on github.com out of process. No server or GitHub webhook receiver exists in this repo, so a real star cannot be confirmed. star_intent is the closest provable on-page proxy.
  • Polar subscription completion (cv.subscribe): completes on buy.polar.sh. No webhook receiver in this static repo, so payment cannot be confirmed. Only begin-checkout is provable.
  • GitHub Sponsors links: point to hosted GitHub Sponsors, out of process and not the requested conversion. Left uninstrumented.
  • site/compare.html, site/before.html, site/after.html: left unmounted. They render inside iframes on index.html and compare.html, so mounting would fire duplicate pageviews on every parent load.
  • site/demo.html CTAs: fictional demo product (Calmly), buttons are href="#" placeholders with no real conversion. Page mounted for pageview capture only.

Hellyeah-Fingerprint: d1f92802a7ee45a6364ff1afe2bfbf3f5d6c6dc72d8b2be350735bb6810a3da5
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.

0 participants