Skip to content

[firebaseAnalytics]: logScreenView doesn't send the name and class to GA4 in flutter web #12751

Closed
@JgomesAT

Description

@JgomesAT

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Analytics

Which platforms are affected?

Web

Description

I have this code FirebaseAnalytics.instance.logScreenView(screenName: screenName, screenClass: className);
to send the event to screenView, and in the Ga4 I can see the events of screenView but without screenName and screenClass,
this only happened with Flutter Web in Android and iOS work perfectly.
other events in the web dork fine like purchase ¡, in this case, I can see all parameters of the event.

Reproducing the issue

Create an event with this faclility FirebaseAnalytics.instance.logScreenView(screenName: screenName, screenClass: className);

Firebase Core version

2.30.1

Flutter Version

3.19.6

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Metadata

Metadata

Assignees

Labels

platform: webIssues / PRs which are specifically for web.plugin: analyticsresolution: userThis was a user issue, e.g. invalid configuration or code.type: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions