Skip to content

Google Analytics not embedding (@next/third-parties and next script) #191

Description

@Leoooob

I’ve been attempting to implement Google Analytics on my site, using the npm module @next/third-parties/, I also tried manually implementing this (using Next.js Script tags) however, I have not seen any GA tags/scripts in the DOM (local or hosted) with either approach.

I’m not sure why neither Next.js Script tags nor the standard integration are working for me, I am a novice to Next.js but not to web development. I have made all my implementations in the DefaultBaseLayout.tsx.

My code repo can be found on GitHub here, is this a bug in the template or am I doing a dumb?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions