GitHub repository: ruiramos/gatsby-segment-js
Description: Easily add a Segment snippet to Gatsby site - includes easy config for enabling user controlled cookie settings