Skip to content

demo: add Google Analytics app to site configs#13

Closed
arbrandes wants to merge 1 commit into
openedx:mainfrom
arbrandes:external-scripts-demo
Closed

demo: add Google Analytics app to site configs#13
arbrandes wants to merge 1 commit into
openedx:mainfrom
arbrandes:external-scripts-demo

Conversation

@arbrandes
Copy link
Copy Markdown
Contributor

@arbrandes arbrandes commented Apr 15, 2026

Description

Demonstration of openedx/frontend-base#227.

Adds the googleAnalyticsApp contrib app from frontend-base to both the dev and build site configs. This demonstrates the external scripts loading mechanism using a placeholder GA4 tracking ID (G-TEST123).

Not intended for merge - this is a demo/test PR.

LLM usage notice

Built with assistance from Claude.

Defines a local GoogleAnalyticsLoader implementing the
ExternalScriptLoader interface from frontend-base, and wires it into
both site.config.dev.tsx and site.config.build.tsx via a local
googleAnalyticsApp. Demonstrates how operators can attach their own
external script loaders to an app.

Co-Authored-By: Claude <noreply@anthropic.com>
@arbrandes arbrandes force-pushed the external-scripts-demo branch from ab77c01 to f6dd01b Compare April 18, 2026 21:38
@arbrandes arbrandes closed this Apr 23, 2026
@arbrandes arbrandes deleted the external-scripts-demo branch April 23, 2026 07:10
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.

1 participant