Skip to content

Confusion between docs and actual usage of Google Analytics Script #410

@Baroshem

Description

@Baroshem

📚 Is your documentation request related to a problem?

Hey there!

I wanted to add Nuxt Scripts to Nuxt Commerce to handle GA and Cookie Consent. I looked at the documentation example on the homepage:

Image

And I have copied it to my project but after adding it I see below issues.

Image

Image

Image

Is it the bug in the implementation or maybe not updated documentation?

🔍 Where should you find it?

https://scripts.nuxt.com/

ℹ️ Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions