Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: put the most popular sdks first #29246

Merged
merged 2 commits into from
Feb 28, 2025
Merged

Conversation

joshsny
Copy link
Contributor

@joshsny joshsny commented Feb 26, 2025

Problem

Our SDKs were in a pretty random order in onboarding, and the default was the JS snippet which isn't anywhere near the most popular.

Changes

After collecting data on which SDKs are selected most for a few weeks, I've re-ordered them to put the 5 most popular first.

NextJS is the 👑

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Ran it locally

@joshsny joshsny requested a review from a team February 26, 2025 12:13
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR reorders the SDKs in the onboarding process to prioritize the most popular ones based on collected usage data, with Next.js now positioned as the top option.

  • Moved Next.js to the first position in the allSDKs array, making it the default SDK option
  • Prioritized HTML snippet, JavaScript web, and React as the next most popular options
  • Positioned React Native as the fifth most popular SDK in the list
  • Maintained all existing SDK entries with their original properties and configurations
  • Ordering is based on actual usage data collected over several weeks

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

github-actions bot commented Feb 26, 2025

Size Change: 0 B

Total Size: 9.72 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 9.72 MB

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

2 snapshot changes in total. 0 added, 2 modified, 0 deleted:

  • chromium: 0 added, 2 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Contributor

@zlwaterfield zlwaterfield left a comment

Choose a reason for hiding this comment

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

Could you also check into this experiment Surbhi had made and see if it's worth keeping?

https://us.posthog.com/project/2/experiments/72572

@joshsny joshsny merged commit aa06883 into master Feb 28, 2025
99 checks passed
@joshsny joshsny deleted the reorder-sdks-onboarding branch February 28, 2025 09:22
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