briggySmalls / skin-deep-server

Server for the skin deep magazine website
0 stars 1 forks source link

Save Google Analytics ID in database #174

Closed briggySmalls closed 5 years ago

briggySmalls commented 5 years ago

Currently the Google Analytics ID is hardcoded in the trellis setup.

However I've just come to want to change it (there was a previous analytics account), and to do so I'll need to redeploy the site.

This is a bit clunky, even if it's not going to happen much. Really the ID should be saved in the plugin settings and the javascript could grab it from a data attribute somewhere.