You can also just replace the default analytics file by creating /layouts/_internal/google_analytics.html
.
- This way you can just use the default GA param of Hugo
googleAnalytics = ""
- If the theme is using Hugo’s default GA call, you don’t need to add a call to a custom partial. Makes switching themes much easier.