Learn business growth with Google Analytics 4 Forums Google Analytics 4 Google Analytics GA4: How to get it working with Hugo Reply To: Google Analytics GA4: How to get it working with Hugo

  • Blair

    Member
    22 December 2022 at 11:53 am

    It sounds like you’re having a bit of trouble integrating Google Analytics 4 with your Hugo site. The issue might be related to the theme’s built-in support. Hugo themes usually support Universal Analytics and not Google Analytics 4. I’d suggest manually inserting the Google Analytics 4 script tag into your site’s header. Make sure to replace the existing Google Analytics tag in the head partial under the layouts directory. Do give it a stab!