aboutsummaryrefslogtreecommitdiffstats
path: root/settings.toml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-22 14:02:47 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-22 14:05:28 -0700
commit979bd469d62ffb0ad53391a31aa789978ce1d6b8 (patch)
tree1f05d73690c5ec8fb1f6b0d361b4af9fe8379b51 /settings.toml
parentaaa96e932fb365026a6c7646aabc98a95f48319e (diff)
downloadfatcat-scholar-979bd469d62ffb0ad53391a31aa789978ce1d6b8.tar.gz
fatcat-scholar-979bd469d62ffb0ad53391a31aa789978ce1d6b8.zip
integrate goatcounter JS (analytics)
Diffstat (limited to 'settings.toml')
-rw-r--r--settings.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings.toml b/settings.toml
index 50910cf..657e2dc 100644
--- a/settings.toml
+++ b/settings.toml
@@ -14,6 +14,9 @@ KAFKA_BROKERS = []
FATCAT_API_HOST = "https://api.fatcat.wiki/v0"
INDEX_WORKER_BATCH_SIZE = 50
SENTRY_DSN = ""
+ENABLE_GOATCOUNTER = 0
+GOATCOUNTER_ENDPOINT = "https://goatcounter.scholar.fatcat.wiki/count"
+GOATCOUNTER_SCRIPT_URL = "https://goatcounter.scholar.fatcat.wiki/count.js"
[test]
SCHOLAR_ENV = "test"
@@ -38,3 +41,4 @@ FATCAT_ELASTICSEARCH_BACKEND = "https://search.qa.fatcat.wiki"
ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext_v01"
ELASTICSEARCH_BACKEND = "http://localhost:9200"
KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]
+ENABLE_GOATCOUNTER = 1