Skip to content

Measure privacy-bounded SuperDoc referral CTA clicks - #35

Open
jelkes1 wants to merge 6 commits into
superdoc:mainfrom
jelkes1:feat/growth-cta-attribution
Open

jelkes1 wants to merge 6 commits into
superdoc:mainfrom
jelkes1:feat/growth-cta-attribution

Conversation

@jelkes1

@jelkes1 jelkes1 commented Nov 1, 2026 •

Copy link
Copy Markdown

Adds a bounded superdoc_cta_clicked event to existing first-party analytics for SuperDoc referral, pricing and signup CTA clicks. It records project/destination/placement enums and fixed event-scoped page context; it does not add another tag, document content, raw link/query/referrer values or a completed-signup/payment claim.

Either modern or legacy DNT, GPC and explicit opt-out suppress the added event. Source projects require own-key membership, only supported quickstart paths are classified as quickstart, ordinary in-docs navigation is excluded, and client-side routing keeps its normal navigation behavior. The listener tests retain distinct callbacks and check specific cleanup and untouched navigation.

Validation: all 11 focused tests pass and now run explicitly in regular CI. Full Linux check, typechecks, existing test lanes, CLI build and web/prerender build pass on cf5c51e. The separate pullfrog integration still lacks its credential in the fork; no secret has been exposed or check bypassed. Maintainer review/deployment and a production DebugView/opt-out journey remain required. This is CTA intent only; authoritative signup, activation and payment callbacks are separate rollout work.

@pullfrog

pullfrog Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

No API key found for Claude Opus. It needs ANTHROPIC_API_KEY (or CLAUDE_CODE_OAUTH_TOKEN). Connect it in Pullfrog or add it as a GitHub Actions secret, or pick a model you already have a key for.

Connect a provider → · Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using claude-opus-5-5

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 5 files

Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack

Re-trigger cubic

Comment thread apps/web/src/lib/growth-attribution.mjs Resolved
Comment thread tests/growth-attribution.test.mjs Resolved
Comment thread tests/growth-attribution.test.mjs Resolved
Comment thread tests/growth-attribution.test.mjs Resolved
Comment thread apps/web/src/lib/growth-attribution.mjs Resolved
Comment thread apps/web/src/lib/growth-attribution.mjs Resolved
@pullfrog

pullfrog Bot commented Nov 1, 2026

Copy link
Copy Markdown

No API key found for Claude Opus. It needs ANTHROPIC_API_KEY (or CLAUDE_CODE_OAUTH_TOKEN). Connect it in Pullfrog or add it as a GitHub Actions secret, or pick a model you already have a key for.

Connect a provider → · Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using claude-opus-5-5

@pullfrog

pullfrog Bot commented Nov 1, 2026

Copy link
Copy Markdown

No API key found for Claude Opus. It needs ANTHROPIC_API_KEY (or CLAUDE_CODE_OAUTH_TOKEN). Connect it in Pullfrog or add it as a GitHub Actions secret, or pick a model you already have a key for.

Connect a provider → · Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using claude-opus-5-5

@pullfrog

pullfrog Bot commented Nov 1, 2026

Copy link
Copy Markdown

No API key found for Claude Opus. It needs ANTHROPIC_API_KEY (or CLAUDE_CODE_OAUTH_TOKEN). Connect it in Pullfrog or add it as a GitHub Actions secret, or pick a model you already have a key for.

Connect a provider → · Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using claude-opus-5-5

@pullfrog

pullfrog Bot commented Nov 1, 2026

Copy link
Copy Markdown

No API key found for Claude Opus. It needs ANTHROPIC_API_KEY (or CLAUDE_CODE_OAUTH_TOKEN). Connect it in Pullfrog or add it as a GitHub Actions secret, or pick a model you already have a key for.

Connect a provider → · Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using claude-opus-5-5

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 1 file (changes from recent commits).

Requires human review: Auto-approval blocked because this review re-detected 1 unresolved issue already reported by Cubic.

Re-trigger cubic

Comment thread apps/web/src/lib/growth-attribution.mjs Resolved
@pullfrog

pullfrog Bot commented Nov 2, 2026

Copy link
Copy Markdown

No API key found for Claude Opus. It needs ANTHROPIC_API_KEY (or CLAUDE_CODE_OAUTH_TOKEN). Connect it in Pullfrog or add it as a GitHub Actions secret, or pick a model you already have a key for.

Connect a provider → · Pick another model →

Pullfrog  | Rerun failed job ➔ | View workflow run | via Pullfrog | Using claude-opus-5-5

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