This is an example repo designed to be used in conjunction with this post.
We use MongoDB Stitch to connect Segment to Atlas, MongoDB’s database as a service, via a custom webhook. This exercise does not require the deployment of any servers.
FlayvaDemo - contains a simple html page that a user can add JavaScript into to track user generated events. SegmentIntegration - contains an export of the MongoDB Stitch application we used as part of this demo.
Note: all API keys have been removed so you will need to create your own for this work.