cssSelectorAllowlist property
Web specific
List of CSS selectors that gate which elements are tracked. Only elements
matching a selector generate [Amplitude] Element Clicked events.
Defaults to defaultCssSelectorAllowlist, which includes Flutter semantic
roles so clicks on Flutter widgets are captured on web. Pass an explicit
list to replace it, or null to omit the key entirely and use the Browser
SDK's own default allowlist.
Implementation
final List<String>? cssSelectorAllowlist;