Skip to content

docs(revenue-analytics): Connect to customers#16167

Open
arthurdedeus wants to merge 4 commits intomasterfrom
docs/revenue-analytics-connect-to-customers
Open

docs(revenue-analytics): Connect to customers#16167
arthurdedeus wants to merge 4 commits intomasterfrom
docs/revenue-analytics-connect-to-customers

Conversation

@arthurdedeus
Copy link
Copy Markdown
Contributor

@arthurdedeus arthurdedeus commented Apr 3, 2026

Changes

Instead of suggesting users to pass PostHog distinct id as metadata, be prescriptive and require it.
Added code snippets for each language in the intersection of PostHog SDK and Stripe SDK on how to configure it.

Also adding a wizard command to set this up automatically here

Part of PostHog/posthog#52270

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Apr 03, 2026 12:27PM

@arthurdedeus arthurdedeus self-assigned this Apr 3, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Vale prose linter → found 4 errors, 2 warnings, 1 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/docs/revenue-analytics/connect-to-customers.mdx — 4 errors, 2 warnings, 1 suggestions
Line Severity Message Rule
12:235 warning Capitalize 'Data Warehouse' for PostHog's product. Use 'data warehouse' for the general industry concept. PostHogBase.ProductNames
89:26 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
90:25 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
91:29 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
92:20 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash
240:118 suggestion Address the reader directly. Use 'you' instead of 'the user'. PostHogDocs.DirectAddress
244:105 warning Capitalize 'Data Warehouse' for PostHog's product. Use 'data warehouse' for the general industry concept. PostHogBase.ProductNames

@arthurdedeus arthurdedeus requested a review from a team April 3, 2026 12:23
Copy link
Copy Markdown
Contributor

@gewenyu99 gewenyu99 left a comment

Choose a reason for hiding this comment

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

NOICE. @PostHog/team-docs-wizard we can turn this into a skill like the LLMA one.

alt="Revenue analytics persons and groups setup"
classes="rounded"
/>
Let the wizard handle the metadata configuration for you by running this command in your project directory with your terminal:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Let the wizard handle the metadata configuration for you by running this command in your project directory with your terminal:
Let the Wizard handle the metadata configuration for you by running this command in your project directory with your terminal:

Is a proper noun ;)

const tooltipKey = '// TIP:'
const highlightKey = '// HIGHLIGHT'
const diffAddKey = '// +'
const diffAddKeyHash = '# +'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OOOO great fix

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.

2 participants