Skip to content

Commit

Permalink
fix(@angular/cli): add set SessionEngaged in GA
Browse files Browse the repository at this point in the history
This is required for realtime reports.

(cherry picked from commit 5f40733)
  • Loading branch information
alan-agius4 authored and clydin committed Feb 14, 2023
1 parent 59aa1cd commit 3d1f48f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/angular/cli/src/analytics/analytics-collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export class AnalyticsCollector {
[RequestParameter.UserAgentArchitecture]: os.arch(),
[RequestParameter.UserAgentPlatform]: os.platform(),
[RequestParameter.UserAgentPlatformVersion]: os.version(),
[RequestParameter.SessionEngaged]: 1,
};

if (ngDebug) {
Expand Down

0 comments on commit 3d1f48f

Please sign in to comment.