- Create a minimal analytics partial, for example: Minimal analytics for Hugo · GitHub
- Add it in your baseof.html template:
{{ partialCached "minimal-analytics.html" . }}
- Add you analytics number in config, like:
googleAnalytics: UA-PROPERTY_ID
5 Likes
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.