also looking at this
feat(homepage): say what a text can actually do
#64
11 files
+149
-22
| @@ -3,20 +3,18 @@ import type { AnalyticsConfig } from '@stacksjs/types' | ||
| 3 | 3 | /** |
| 4 | 4 | * **Analytics Configuration** |
| 5 | 5 | * |
| 6 | * This configuration defines all of your Analytics options. Because Stacks is fully-typed, | |
| 7 | * you may hover any of the options below and the definitions will be provided. In case | |
| 8 | * you have any questions, feel free to reach out via Discord or GitHub Discussions. | |
| 6 | * Off, and it always was: nothing on this site injects an analytics script. | |
| 7 | * | |
| 8 | * The scaffold left `driver: 'fathom'` here with a real site id and a Google | |
| 9 | * Analytics placeholder beside it, so anyone who read the config found a | |
| 10 | * tracker declared while `/privacy` told them the site loads none. Both | |
| 11 | * statements cannot be true, and the page is the one that is (#37). | |
| 12 | * | |
| 13 | * Turning this on means adding the script as well, and saying so on the | |
| 14 | * privacy page in the same commit. | |
| 9 | 15 | */ |
| 10 | 16 | export default { |
| 17 | enabled: false, | |
| 11 | 18 | driver: 'fathom', |
| 12 | ||
| 13 | drivers: { | |
| 14 | googleAnalytics: { | |
| 15 | trackingId: 'UA-XXXXXXXXX-X', | |
| 16 | }, | |
| 17 | ||
| 18 | fathom: { | |
| 19 | siteId: 'WOLZMJDL', | |
| 20 | }, | |
| 21 | }, | |
| 19 | drivers: {}, | |
| 22 | 20 | } satisfies AnalyticsConfig |