Skip to content

Commit 1fd9f3e

Browse files
authored
clients(viewer): ga event for flow-report (#13932)
1 parent 83121be commit 1fd9f3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

viewer/app/src/lighthouse-report-viewer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,10 @@ export class LighthouseReportViewer {
290290
try {
291291
if (this._isFlowReport(json)) {
292292
this._renderFlowResult(json, rootEl, saveGistCallback);
293+
window.ga('send', 'event', 'report', 'flow-report');
293294
} else {
294295
this._renderLhr(json, rootEl, saveGistCallback);
296+
window.ga('send', 'event', 'report', 'report');
295297
}
296298

297299
// Only clear query string if current report isn't from a gist or PSI.

0 commit comments

Comments
 (0)