Snitchy
"Wrapper" for analyticsjs-boilerplate (!!! WIP, pre-alpha !!!)
Getting started
Installation
npm i -S epic-snitchy
Usage
<!-- Loads analytics.js and custom tracking code asynchronously -->
// Set ga and/or sentry configurations.const trackers = test: 'UA-12345-1' prod: 'UA-12345-2' trackers processenvNODE_ENV // production or anything, provided by Gulp + envify
Based on the GREAT work of @philipwalton