Skip to content

Add PostHog tracking to pricing page#4760

Open
dimitrieh wants to merge 1 commit intomainfrom
feature/pricing-posthog-tracking
Open

Add PostHog tracking to pricing page#4760
dimitrieh wants to merge 1 commit intomainfrom
feature/pricing-posthog-tracking

Conversation

@dimitrieh
Copy link
Copy Markdown
Contributor

Description

Instruments the pricing page with PostHog events for feature interest signals.

Changes:

Event When Properties Status
pricing-hosting-toggled User toggles Cloud/Self-Hosted hosting Replaces bare capture("cloud")
pricing-feature-info-opened User clicks a feature row feature, hosting Replaces info-feature
pricing-feature-info-closed User closes feature dialog feature, hosting New
pricing-feature-docs-clicked User clicks "Learn more" in dialog feature, hosting New
pricing-deep-link-arrived User arrives via tier badge deep link hash, hosting, referrer New

The old info-feature event used inconsistent naming. Renamed to pricing-feature-info-opened for consistency with other pricing events.

The old hosting toggle fired capture("cloud") or capture("self-hosted") as bare event names — these collide with anything and are hard to find. Renamed to pricing-hosting-toggled.

PostHog setup (Production):

Related Issue(s)

Part of website analytics instrumentation initiative.

Checklist

  • I have read the contribution guidelines
  • I have considered the performance impact of these changes
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
  • For blog PRs, an Art Request has been created (instructions)

- Fix hosting toggle: rename bare capture("cloud") to
  pricing-hosting-toggled with hosting property
- Rename info-feature to pricing-feature-info-opened for consistency
- Add pricing-feature-info-closed on dialog dismiss
- Add pricing-feature-docs-clicked on "Learn more" links in dialogs
- Add pricing-deep-link-arrived for tier badge deep link attribution
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 24, 2026

Deploy Preview for flowforge-website ready!

Name Link
🔨 Latest commit fe23ca6
🔍 Latest deploy log https://app.netlify.com/projects/flowforge-website/deploys/69c310713dcf97000837f59a
😎 Deploy Preview https://deploy-preview-4760--flowforge-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 83 (🔴 down 8 from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@Yndira-E
Copy link
Copy Markdown
Contributor

pricing-deep-link-arrived seems to assume the tier badge deep-link flow to /pricing, but that behavior was reverted, and the badges currently do not link there.

In the current state, this event does not correspond to a real user journey, so I’m not sure it belongs in this PR. I’d suggest removing it for now and keeping this PR focused on tracking interactions that exist today.

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