Skip to content

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

Description

@shoyaUeno

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,
    },
  },
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions