Skip to content

Conversation

@joehart2001
Copy link
Collaborator

Pre-review checklist for PR author

PR author must check the checkboxes below when creating the PR.

Summary

The app builder now looks for an analytics measurement ID (ML_PEG_ANALYTICS_ID) when assembling the Dash layout. If set, build_full_app calls a helper that generates the standard gtag.js script tags for that ID and appends them to the root layout so they load on every page. This keeps the tracking snippet out of the repo while letting you enable GA by simply exporting the env var on the VM.

Linked issue

Resolves #269

Testing

None so far

@ElliottKasoar ElliottKasoar added the enhancement New feature or request label Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Viewer count

3 participants