diff --git a/.changeset/gentle-turtles-applaud.md b/.changeset/gentle-turtles-applaud.md new file mode 100644 index 0000000000..f05d8b156c --- /dev/null +++ b/.changeset/gentle-turtles-applaud.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-analytics-module-ga4': patch +--- + +Fixed configuration visibility settings for `allowedContexts` and `allowedAttributes` diff --git a/plugins/analytics-module-ga4/config.d.ts b/plugins/analytics-module-ga4/config.d.ts index d90ccb5938..4834d75f58 100644 --- a/plugins/analytics-module-ga4/config.d.ts +++ b/plugins/analytics-module-ga4/config.d.ts @@ -80,14 +80,14 @@ export interface Config { * metadata will be captured in Google Analytics. * Contexts that will be sent as parameters in the event. * context-name will be prefixed by c_, for example, pluginId will be c_pluginId in the event. - * + * @visibility frontend */ allowedContexts?: string[] | ['*']; /** * * Attributes that will be sent as parameters in the event * attribute-name will be prefixed by a_, for example , testAttribute will be c_testAttribute in the event. - * + * @visibility frontend */ allowedAttributes?: string[] | ['*']; };