Commit a4129f8
committed
Enable Google Analytics
Prior to this change, the Hackney Google Analytics container ID was
passed to `docusaurus/plugin-google-analytics`, which _looks_ correct
but was deprecated in favour of `docusaurus/plugin-google-tag-manager`.
Analytics would have stopped working sometime in 2023.
This change updates our site to use the modern approach. The plugin
itself is bundled with the classic theme we're using, so only
a configuration change is required.
The containerId is shipped to the browser on every page render, so it's
not considered a secret.1 parent 3dafda0 commit a4129f8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments