Skip to content
Discussion options

You must be logged in to vote

This works for me:

ReactGA4.initialize(GA4_MEASUREMENT_ID, {
  gaOptions: {
    debug_mode: true
  }
});

You can view the tracking data in the Debug View page.

Note: To disable debug mode, remove the debug_mode. Setting this to false won't work.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@codler
Comment options

Answer selected by codler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #79 on August 29, 2026 09:56.