From 979bd469d62ffb0ad53391a31aa789978ce1d6b8 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 22 Oct 2020 14:02:47 -0700 Subject: integrate goatcounter JS (analytics) --- settings.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'settings.toml') 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 -- cgit v1.2.3