-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Is it possible to set "send_page_view" to "false" with this "react-ga4" ? #72
Comments
From my testing this appears to be working, I manually trigger the first page view in my app
|
Apologies, after more testing that wasn't working! This appears to be working:
This results in:
|
@EPGDigital-MW Thanks for the advice, I'll give it a shot! I'll post more on this ish if I find anything else. |
I tried this approach, but it seems that |
Edit: This example works for me
In my case turning off "Page changes based on browser history events" in the GA4 admin and setting the send_page_view stopped all the page_view events from being collected automatically. |
Thanks for the advice! ReactGA.initialize(TRACKING_ID, {
gaOptions: {
send_page_view: false,
}
}); It still doesn't seem to work... |
I've disabled this, then also disabled enhanced measurement as I don't need any other events, everything is triggered within the app manually. |
I see, so you are saying that the GA side of the configuration needs to be changed. I'll have to check it out. |
Any updates? |
What
This time, I wrote the following pattern code to avoid sending "page_view", but all "page_view" were sent to GA4, so I made this issue. Is there any solution?
If anyone knows of any solutions or workarounds, it would be appreciated.
Or,
Or,
Refference
The text was updated successfully, but these errors were encountered: