I've added a switch in the head.html to ensure we only set the live api key when published to github.io, to prevent any events caused in development are not stored in the segment.io dashboard. (homepage project). We now have a new project (homepage-local-development) and a different write key.
Hi!
I've added a switch in the head.html to ensure we only set the live api key when published to github.io, to prevent any events caused in development are not stored in the segment.io dashboard. (homepage project). We now have a new project (homepage-local-development) and a different write key.
The jekyll.environment is set to true by github pages as seen here: http://mikeljames.github.io/ see changes: https://github.com/mikeljames/mikeljames.github.io/commit/d73f6b13a1e758b851728d623e2382ed7b530937
I used a personal github pages to test this out.