Skip to content

Commit

Permalink
Guidance added for analytics definitions on the database
Browse files Browse the repository at this point in the history
  • Loading branch information
VulpesFerrilata committed Jun 20, 2023
1 parent ffc7c40 commit adbd8e7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/db/analytics-definitions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Analytics definitions

The `AnalyticsDefinitions` table contains details about supported analytics tools for adding analytics functionality to the site.

## Relevant tables

| Table Name | Description |
| --------------------------------- | ------------------------------------ |
| AnalyticsDefinitions | Contains the pre-defined analytics providers |

### AnalyticsDefinitions

This table contains the details of each analytics provider that is available.

- `ProductName` - Name of the analytics provider
- `ProductKey` - They key or token to be used for the analytics provider
- `DateModified` - The date the analytics have been created or amended
- `Enabled` - Whether the analytics are switched on or not
- `CookieControl` - Defines which cookie control is used, currently only supports Civica
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ nav:
- 'Administration via the database (advanced)':
- 'Getting started': 'db/getting-started.md'
- 'Admin roles': 'db/admin-roles.md'
- 'Analytics Definitions': 'db/analytics-definitions.md'
- 'Attributions': 'db/attributions.md'
- 'Basemaps': 'db/basemaps.md'
- 'Bounds': 'db/bounds.md'
Expand Down

0 comments on commit adbd8e7

Please sign in to comment.