Closed anapaulagomes closed 6 years ago
I just moved my blog to this great theme. The problem is: the Google Analytics is not working anymore. Any clue? Shall we include {{ template "_internal/google_analytics.html" . }} somewhere? https://gohugo.io/templates/internal/#use-the-google-analytics-template
{{ template "_internal/google_analytics.html" . }}
Turns out that the problem is with Hugo or the way the parser works. To solve this, just move the googleAnalytics variable to the top. https://stackoverflow.com/a/46207854/1344295
googleAnalytics
I just moved my blog to this great theme. The problem is: the Google Analytics is not working anymore. Any clue? Shall we include
{{ template "_internal/google_analytics.html" . }}
somewhere? https://gohugo.io/templates/internal/#use-the-google-analytics-template