Skip to content

[unified_analytics] avoid flutter_tools feature flags from getting truncated when sending to unified_analytics #147327

Open
dart-lang/tools
#2007
@eliasyishak

Description

@eliasyishak

Currently, the enabled features we send for analytics remains in the same order that they were enabled. So if we had 3 features:

  • my-first-feature
  • my-second-feature
  • my-thrid-feature

The list will always be = "my-first-feature,my-second-feature,my-thrid-feature"

In GA4 we have a 36 character limit so if the string is longer than 36 characters, anything after 36 gets truncated and dropped. This could send a false signal that a given feature is not being used,

We should encode the feature names more compactly, to minimize the loss of data due to truncation

Metadata

Metadata

Assignees

Labels

Bot is counting down the days until it unassigns the issueP1High-priority issues at the top of the work listteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions