Skip to content

Re-add Google Analytics with a real GA4 measurement ID (or confirm none needed) #29

Description

@mmcky

PR #26 removed a non-functional Google Analytics placeholder (google_analytics_id: G-XXXXXXXXXX) from lectures/_config.yml. It was never a real measurement ID, so it collected no data — removing it just stops shipping a dead config value. This issue tracks the follow-up decision: re-add analytics with a real ID, or confirm the site intentionally runs without it.

@DrDrij — do you have a GA4 measurement ID for dp.quantecon.org (or should this site report into an existing org-wide property)? If analytics are wanted, please provide the G-XXXXXXXXXX ID and we'll re-add the block; if not, we can close this as "no analytics by design".

To re-enable, add this back under html_theme_options in lectures/_config.yml (it sat just below keywords:), with the placeholder swapped for the real ID:

      analytics:
        google_analytics_id: G-XXXXXXXXXX   # replace with the real GA4 measurement ID for dp.quantecon.org

Context: split out from the tooling refresh tracked in #22; the removal landed in #26.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenanceHousekeeping: refactors, tooling, infra, style, env upkeepquestionA question or discussion thread

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions