Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A lot of "(not set)" errors #34

Open
PipocaZalas opened this issue May 18, 2020 · 2 comments
Open

A lot of "(not set)" errors #34

PipocaZalas opened this issue May 18, 2020 · 2 comments

Comments

@PipocaZalas
Copy link

Hello everyone, lately I have been reciving a lot of errors from google analitycs about "(not set)" pages. I am using @nuxtjs/google-gtag 1.0.4 and this is my config:

modules: [
    [
      '@nuxtjs/google-gtag',
      {
        id: process.env.GOOGLE_ANALYTICS_ID,
        config: {
          send_page_view: false // if true, double hit is sent
        }
      }
    ]
  ]

My events are simple as well

this.$gtag('event', 'play', {
    event_category: 'welcome_video',
    event_label: '[play icon]'
})

Is it a problem with nuxtjs/google-gtag library or am I wrong?

@PipocaZalas
Copy link
Author

Recently I found the new repository for the library https://github.com/nuxt-community/gtm-module. Consider adding the link in the description anyway.

@aphavichitr
Copy link

@MackYoel is the gtm-module the replacement for google-gtag? Are you using library instead? I noticed in the gtm-module you it says to put id: GTM-XXXXXXX, what is this id? Is it the adwords ID AW-XXXXXXXXX?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants