Repository navigation
Conversation
Same edbn project as ui.edbn.me, on outbound.edbn.me only, sent through /ingest on the Worker so blockers don't drop it. Page views, clicks, heatmaps, web vitals, errors and session replay, plus the events Plausible already counts. Local storage only, no cookie, so visits never join up with ui.edbn.me. Recordings mask inputs and skip the license key and email. Privacy policy says all of this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds PostHog to outbound.edbn.me, set up like ui.edbn.me and in the same edbn project. Plausible stays as it is.
What it sends
track()in each script.How it loads
/ingeston the Worker (added torun_worker_first), so blockers that match PostHog's hosts don't drop it. Only content-type, user-agent and accept go on, plus the visitor's IP for the rough location./ingest/static/array.jsthrough the existing Trusted Types policy. Adefaultpolicy lets PostHog's own scripts through, and only same-origin ones under/ingest/static/or/ingest/array/. The CSP is unchanged.Privacy
.edbn.me, so a cookie here would tie Outbound visits to ui accounts.ph-no-capture).Tested
npm run buildpasses.wrangler dev: the homepage and the thank-you page load PostHog with no CSP or Trusted Types errors, recording starts and uploads, an FAQ click arrives, no cookie is set, and the key elements carryph-no-capture.After merging, open the live site and check that events from outbound.edbn.me show up in PostHog, with a recording.