Created
January 26, 2016 02:15
-
-
Save swanson/3d706bfa9271d2a45df9 to your computer and use it in GitHub Desktop.
Segment users based on github account
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
Auth with Github -> github username | |
github username -> https://api.github.com/users/swanson/repos | |
Repos have a `language` field -> find most occuring language | |
Segment users based on most occurring language: | |
* ObjC/Swift -> iOS trail | |
* Ruby -> Rails trail | |
* Javascript -> React trail | |
etc |
Nice! Frankly the "segments" I'm talking about are less nuanced than this, like "subscriber", "former subscriber", "never subscribed". Would love to later iterate to get more nuanced and add this sort of logic. Thanks for sharing!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very slick! I like it.