Add initial support for Google Analytics

This commit is contained in:
Deluan
2020-07-03 12:53:35 -04:00
committed by Deluan Quintão
parent dd91f983b5
commit 1cc03fdd8c
7 changed files with 31 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ func ServeIndex(ds model.DataStore, fs http.FileSystem) http.HandlerFunc {
"loginBackgroundURL": policy.Sanitize(conf.Server.UILoginBackgroundURL),
"welcomeMessage": policy.Sanitize(conf.Server.UIWelcomeMessage),
"enableTranscodingConfig": conf.Server.EnableTranscodingConfig,
"gaTrackingId": conf.Server.GATrackingID,
}
j, err := json.Marshal(appConfig)
if err != nil {