Hugo and Content Groups for Google Analytics

Grouping content in Analytics can be useful in many ways:

  • You find out what your users really like
  • It makes it possible to segment your analysis
  • It helps understand your users better by making clear which sections of your site they visit.

So I wrote down the steps to get it done using Hugo and Google Tag Manager.