Merge pull request #17993 from bforbis/ga4-config-visibility

Ga4 config visibility
This commit is contained in:
Fredrik Adelöw
2023-05-30 09:17:48 +02:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-analytics-module-ga4': patch
---
Fixed configuration visibility settings for `allowedContexts` and `allowedAttributes`
+2 -2
View File
@@ -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[] | ['*'];
};