Closed hjalle closed 8 years ago
Where's _internal
stuff coming from? Do we need anything extra? Sorry, I'm probably way dated on my Hugo version.
It's prebuilt: Hugo ships with prebuilt internal templates for Google Analytics tracking, including both synchronous and asynchronous tracking codes.
This is the prebuilt template for the synchronous tracking code as I believe that's the most common. There's nothing extra needed. If there's a tracking code in the config, the template will output the analytics script, if there's no tracking code it will just be empty
Added support for the synchronous version of GA, see https://gohugo.io/extras/analytics/ .