Skip to content

fix(analytics): backport website referrer reporting - #1179

Merged
scttbnsn merged 1 commit into
dev/v1.7from
scttbnsn/fix-v1.7-website-referrers
Sep 13, 2026
Merged

scttbnsn merged 1 commit into
dev/v1.7from
scttbnsn/fix-v1.7-website-referrers

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Restore referring hostnames in the currently deployed website. This backports the four website files from #1177 onto dev/v1.7, whose starting tree equals production main at b95d776. The only additional change is the Unreleased changelog entry.

The client enables referrer collection and forwards only validated bare hostnames or the direct marker. Full referrer URLs and campaign parameters remain excluded, with cookieless collection and disabled persistence unchanged.

Validation: all 87 website script tests pass; the full pre-push gate passed including 100% app/UI coverage, lint and builds. The production website is being built from this isolated source with production environment values, so it can be verified and deployed without advancing main or shipping unreleased v1.8 content.

@vercel

vercel Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
drydock-website Ready Ready Preview Sep 13, 2026 3:10pm UTC
drydockdemo-website Ready Ready Preview Sep 13, 2026 3:10pm UTC

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: bedc0059-7c73-4178-9ac5-756cea9ec6e4

📥 Commits

Reviewing files that changed from the base of the PR and between a06bdaf and 455ab63.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (4)
  • apps/web/scripts/analytics-client.test.mjs
  • apps/web/scripts/analytics-referrer.test.mjs
  • apps/web/src/lib/analytics-client.ts
  • apps/web/src/lib/analytics-contract.ts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@scttbnsn

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Verified the website patch matches #1177 and its starting tree equals the currently deployed release. All 87 website tests and full pre-push checks passed.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed the bounded hostname validator, producer configuration and regression tests. The backport adds only the website fix and its changelog entry.

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@scttbnsn

Copy link
Copy Markdown
Contributor Author

The four website files are byte-for-byte identical to reviewed #1177 at cd603ea. Both website diffs have stable patch ID 89cadffc69c63826219ec43ea39e98014df538ee. The only other change is the Unreleased changelog entry. CodeRabbit rate-limited a duplicate review here; its actual #1177 finding was checked against the SDK and answered with the browser hostname-normalization evidence. Full tests and independent review cover this same patch.

@scttbnsn
scttbnsn enabled auto-merge (squash) September 13, 2026 15:20
@codecov

codecov Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn
scttbnsn merged commit 7148848 into dev/v1.7 Sep 13, 2026
31 of 32 checks passed
@scttbnsn
scttbnsn deleted the scttbnsn/fix-v1.7-website-referrers branch September 13, 2026 15:28

This branch was successfully deployed

2 active deployments
Preview – drydock-website — 455ab638 Deployed Sep 13, 2026 by vercel[bot]
Preview – drydockdemo-website — 455ab638 Deployed Sep 13, 2026 by vercel[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.

3 participants