Move logic to local_settings
Fix jinja2 template error
Add GA key
Add logging location