Skip to content

Fix #509 : Add wiki doc for debugging Google Analytics locally#517

Open
NITISH084 wants to merge 2 commits into
oppia:developfrom
NITISH084:Added-guide-for-GA-testing-on-local-machine
Open

Fix #509 : Add wiki doc for debugging Google Analytics locally#517
NITISH084 wants to merge 2 commits into
oppia:developfrom
NITISH084:Added-guide-for-GA-testing-on-local-machine

Conversation

@NITISH084

Copy link
Copy Markdown
Member

This PR fixes #509

  • Add Debugging-Google-Analytics wiki page with steps to set up a personal GA property, connect it to local Oppia, and verify events.

@NITISH084

Copy link
Copy Markdown
Member Author

@HardikGoyal2003 PTAL, Thanks.

@HardikGoyal2003 HardikGoyal2003 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NITISH084 Thanks for the PR. Can you please add some images of the GA dashboard and a bit of its working??

@NITISH084

Copy link
Copy Markdown
Member Author

Hi @HardikGoyal2003 I have added few screenshots, and new data related to debug view/ realtime report and Tag assistant extension as well in the Doc. PTAL

@HardikGoyal2003 HardikGoyal2003 self-assigned this Apr 7, 2026
@@ -0,0 +1,131 @@
This guide explains, step by step, how to connect local Oppia to Google Analytics 4 (GA4), confirm events are being sent, and understand where to look when something fails.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how to connect local Oppia --> how to connect Oppia devserver (localhost)

Comment on lines +8 to +12
1. [GA4 setup assistant](https://support.google.com/analytics/answer/9304153)
2. [Google tag (`gtag.js`) developer guide](https://developers.google.com/tag-platform/gtagjs)
3. [GA4 Realtime report](https://support.google.com/analytics/answer/9271392)
4. [GA4 DebugView](https://support.google.com/analytics/answer/7201382)
5. [Tag Assistant extension](https://chromewebstore.google.com/detail/tag-assistant/kejbdjndbnbjgmefkgdddjlbokphdefk?hl=en-US&utm_source=ext_sidebar)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain why these references are important to read and understand.

1. What to do.
2. Why that step matters.

Useful references:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be renamed to prerequisites?

5. [Tag Assistant extension](https://chromewebstore.google.com/detail/tag-assistant/kejbdjndbnbjgmefkgdddjlbokphdefk?hl=en-US&utm_source=ext_sidebar)

## Event flow to verify
Before starting, it helps to know the end-to-end path your analytics event takes.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure what this line meant.

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

Successfully merging this pull request may close these issues.

Add developer guide for verifying GA events and network requests.

2 participants