Skip to content

Commit

Permalink
fix: ga engagement metrics not working
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Feb 21, 2024
1 parent 8516db7 commit 60f9a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/desktop-metrics.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
// the event wasnt generated, so we trigger it manually. This is not preferred as the target and
// other important properties of the event are readonly and cannot be overwritten.
if(!focusCallbackDone){
gaFocusCallback.call(this, focusEvent);
gaFocusCallback.call(window.document.body, focusEvent);
}
}, 1000);
} else if(eventName === 'blur'){
Expand Down

0 comments on commit 60f9a75

Please sign in to comment.