mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-12-18 06:45:04 +01:00
Add setting to disable analytics
This commit is contained in:
@@ -42,6 +42,7 @@ from recommonmark.transform import AutoStructify
|
||||
extensions = [
|
||||
'sphinx_rtd_theme',
|
||||
'sphinx.ext.autodoc',
|
||||
'sphinx.ext.napoleon',
|
||||
'recommonmark',
|
||||
]
|
||||
|
||||
|
||||
@@ -10,6 +10,12 @@ To Opt-Out, modify our pre-loaded token using the Admin dashboard */admin/analyt
|
||||
|
||||
Each of the three features Daily Stats, Celery Events and Page Views can be enabled/Disabled independently.
|
||||
|
||||
Alternatively, you can fully opt out of analytics with the following optional setting:
|
||||
|
||||
```python
|
||||
ANALYTICS_DISABLED = True
|
||||
```
|
||||
|
||||

|
||||
|
||||
## What
|
||||
@@ -58,6 +64,8 @@ This data is stored in a Team Google Analytics Dashboard. The Maintainers all ha
|
||||
|
||||
### Analytics Event
|
||||
|
||||
```eval_rst
|
||||
.. automodule:: allianceauth.analytics.tasks
|
||||
:members: analytics_event
|
||||
:undoc-members:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user