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

Extra Event Call #45

Open
ShubhamSinghNW18 opened this issue Jun 14, 2023 · 2 comments
Open

Extra Event Call #45

ShubhamSinghNW18 opened this issue Jun 14, 2023 · 2 comments

Comments

@ShubhamSinghNW18
Copy link

Hi
I am using this package for implementing GA4 in my next js application.
While clicking on any ancor tag a extra GA4 click event is getting called, so is their any way to block this extra event call

@guybinya
Copy link

I think you can disable it by turning off Enhanced measurement in the GA console

@obada-jaras
Copy link

@ShubhamSinghNW18, I'm experiencing a similar issue where page views are duplicated (noticed when monitoring the Realtime Overview, where they appear twice).

I tested the solution suggested by @guybinya, and while it does address the problem, it introduces a new issue: if you navigate through multiple pages quickly, only a single request is sent (resulting in just one page showing up in the Realtime Overview).

Anyone have an idea what is the best practice?

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

3 participants