Skip to content

feat: per-tenant measurement_id (extend single-app to multi-tenant) #4

Description

@intel352

Per gocodealone-multisite SPEC.md V25 + T29.

Current plugin assumes single-app deployment with one Google Analytics measurement_id baked in config. Multisite host (gocodealone-multisite) needs per-tenant injection: each tenant declares its own ID in their content-repo's multisite.yaml, host injects only when set.

Scope

  • Add per-tenant runtime configuration surface (vs single-app static config).
  • Accept measurement_id from tenant context (passed by workflow-plugin-cms's analytics.injection module).
  • ⊥ inject gtag for tenants without an ID.
  • Privacy banner future-V (deferred).

Refs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions