-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate select event to package:unified_analytics #7479
Migrate select event to package:unified_analytics #7479
Conversation
userApp: gtagEvent.user_app, | ||
userBuild: gtagEvent.user_build, | ||
userPlatform: gtagEvent.user_platform, | ||
devtoolsPlatform: gtagEvent.devtools_platform, | ||
devtoolsChrome: gtagEvent.devtools_chrome, | ||
devtoolsVersion: gtagEvent.devtools_version, | ||
ideLaunched: gtagEvent.ide_launched, | ||
isExternalBuild: gtagEvent.is_external_build, | ||
isEmbedded: gtagEvent.is_embedded, | ||
ideLaunchedFeature: gtagEvent.ide_launched_feature, | ||
g3Username: gtagEvent.g3_username, | ||
uiDurationMicros: gtagEvent.ui_duration_micros, | ||
rasterDurationMicros: gtagEvent.raster_duration_micros, | ||
shaderCompilationDurationMicros: | ||
gtagEvent.shader_compilation_duration_micros, | ||
traceEventCount: gtagEvent.trace_event_count, | ||
cpuSampleCount: gtagEvent.cpu_sample_count, | ||
cpuStackDepth: gtagEvent.cpu_stack_depth, | ||
heapDiffObjectsBefore: gtagEvent.heap_diff_objects_before, | ||
heapDiffObjectsAfter: gtagEvent.heap_diff_objects_after, | ||
heapObjectsTotal: gtagEvent.heap_objects_total, | ||
rootSetCount: gtagEvent.root_set_count, | ||
rowCount: gtagEvent.row_count, | ||
inspectorTreeControllerId: gtagEvent.inspector_tree_controller_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though we include all of the possible fields, most of these are nullable and if they are null when passed to Event.fromJson
, those fields won't get sent to GA4
Will this PR also need a bump to the new unified_analytics version 6.1.0? |
Yep, once dart-lang/tools#258 merges and publishes i'll bump the version here |
Part of tracker issue:
package:unified_analytics
for analytics collection #7083Migrates the select analytics event to package:unified_analytics
EDIT: April 18
I have been able to confirm that the new DTD setup works as expected! As discussed a couple weeks ago, we will use just one event to send the different devtools event (same as the legacy devtools analytics). This one event will include a superset of all the parameters possible for all devtools related events (select, impressions, etc.). This is being added in package:unified_analytics in this PR.
The screenshot below shows the parameters that are being sent for the select event in the backend.
The highlighted field above for
eventCategory
will be how we filter for which devtools event we are interested in.