physionet-build icon indicating copy to clipboard operation
physionet-build copied to clipboard

Add Google Analytics property to .env file

Open tompollard opened this issue 1 year ago • 0 comments

There is a Google Analytics property hardcoded in the following template:

https://github.com/MIT-LCP/physionet-build/blob/303edbb43b594fa13ff3f6bf704c68eab6873cc8/physionet-django/templates/base_js_top.html#L1-L11

This property should be configurable. Add a GOOGLE_ANALYTICS_ID to the .env file. If the ID is not provided, the header should not include the Google Analytics chunks.

tompollard avatar Jul 06 '23 14:07 tompollard