Adding scripts to get content_id#32
Open
macumber wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Adds GA4 Data API helper scripts to support exporting/selecting content_id (via the GA4 contentId dimension) for the OpenStudio releases site tooling.
Changes:
- Add
ga-dimensionsscript to list GA4 built-in/custom dimensions with optional filtering. - Add
ga-eventsscript to export GA4 events to CSV/JSON with legacyTab-Nnormalization and summary output. - Wire up dependency/scripts/docs and gitignore patterns for generated exports.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| openstudioreleases/scripts/listAnalyticsDimensions.ts | New CLI utility to inspect available GA4 dimensions (supports --filter). |
| openstudioreleases/scripts/getAnalyticsEvents.ts | New CLI utility to export GA4 events (CSV/JSON), normalize legacy contentId, and print summaries. |
| openstudioreleases/README.md | Document GA export prerequisites and example usage. |
| openstudioreleases/package.json | Add @google-analytics/data dependency and ga-* yarn scripts. |
| openstudioreleases/.gitignore | Ignore generated GA export CSV/JSON outputs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.