Skip to content

Commit 3f6e9ac

Browse files
committed
Group plausible and google analytics under same part
1 parent 89329af commit 3f6e9ac

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/websites/website-tools.qmd

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,9 @@ image: false
211211
---
212212
```
213213

214-
## Plausible Analytics
214+
## Analytics
215+
216+
### Plausible Analytics
215217

216218
[Plausible Analytics](https://plausible.io/) is a lightweight, open-source, and privacy-friendly alternative to Google Analytics. Plausible is designed with privacy as a core principle: it doesn't use cookies, is GDPR compliant by default, and all data is processed anonymously.
217219

@@ -241,13 +243,13 @@ The script will automatically be included in the `<head>` of every page on your
241243
The snippet from your Plausible dashboard may include multiple `<script>` tags and initialization code. Copy the entire snippet as-is - don't modify or simplify it.
242244
:::
243245

244-
### Optional Enhanced Measurements
246+
#### Optional Enhanced Measurements
245247

246248
Plausible offers optional enhanced measurements that you can enable directly in your site settings dashboard (such as outbound link tracking, file downloads, etc.). When you enable these features in Plausible, your tracking snippet will be automatically updated in your dashboard. Simply copy the updated snippet and replace it in your `_quarto.yml` configuration.
247249

248250
For more information about available enhanced measurements and configuration options, see the [Plausible script documentation](https://plausible.io/docs/plausible-script).
249251

250-
### Privacy Benefits
252+
#### Privacy Benefits
251253

252254
Unlike traditional analytics solutions, Plausible Analytics:
253255

@@ -258,7 +260,7 @@ Unlike traditional analytics solutions, Plausible Analytics:
258260

259261
Because Plausible is privacy-friendly by default, you typically don't need to implement [Cookie Consent] when using it (though you should verify this with your own privacy requirements).
260262

261-
## Google Analytics
263+
### Google Analytics
262264

263265
You can add [Google Analytics](https://analytics.google.com/) to your website by adding a `google-analytics` key to your `_quarto.yml` file. In its simplest form, you can just pass your Google Analytics tracking Id (e.g. `UA-xxxxxxx`) or Google Tag measurement Id (e.g. `G-xxxxxxx`) like:
264266

@@ -289,7 +291,7 @@ In addition to this basic configuration, you can exercise more fine grained cont
289291

290292
: {tbl-colwidths="[20,80]"}
291293

292-
### Storage
294+
#### Storage
293295

294296
Google Analytics uses cookies to distinguish unique users and sessions. If you choose to use cookies to store this user data, you should consider whether you need to enable [Cookie Consent] in order to permit the viewer to control any tracking that you enable.
295297

0 commit comments

Comments
 (0)