escopecz / grav-ganalytics

Google Analytics plugin for Grav CMS
MIT License
20 stars 9 forks source link

Added support for environment variabels #16

Closed kanduvisla closed 4 years ago

kanduvisla commented 6 years ago

I added support for environment variables to this module. I'm using Grav with Continuous Delivery and I don't want such credentials to be hard-written in my source code.

The adjustments is minimal: if the UA code starts with env:, it's considered an environment variable. I also updated the readme for this.