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

The pageview is being sent separately from the setting of the send_page_view parameter. #49

Open
shoyaUeno opened this issue May 26, 2021 · 0 comments

Comments

@shoyaUeno
Copy link

shoyaUeno commented May 26, 2021

Hello,

There is a problem with sending page views.
Page views are sent when send_page_view parameter is set to true.
However, apart from setting send_page_view parameter, the pageview is being submitted.

If I set send_page_view parameter to true, the pageviews would be sent twice, with "send pageviews independent of settings" and "send pageviews by settings".

Currently, pageviews are sent once if the send_page_view parameter is set to false.

I don't use other gtag.js or analytics.js modules.
Please tell me the possible causes.

The following are the current settings in nuxt.config.ts.

{
  modules: [
    '@nuxtjs/google-gtag'
  ],
  'google-gtag': {
    id: process.env.GAID('UA-XXXX-XX'),
    debug: false,
    config: {
      send_page_view: false,
    },
  },
}
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

1 participant