This is the code of PostHog's Segment destination.
While more constrained than our own libraries, it enables us to receive events from Segment as a destination.
You can find and install the destination via Segment's integration page.
You can learn more about setup and its capacities in our Segment doc and their PostHog destination doc.
If you can't find the answer in our docs, ask a question in our community or [raise a support ticket [in-app](https://us.posthog.com/#panel=support.
See Segment Spec for the source of the test data.
Once changes are reviewed and merged, ping Tim who can contact Segment for the update.