Skip to content

Commit

Permalink
fix: set useragent value
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs committed Jul 26, 2022
1 parent 40bb090 commit 9a88148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/RudderContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class RudderContext {
this.screen.density = window.devicePixelRatio;
this.screen.innerWidth = window.innerWidth;
this.screen.innerHeight = window.innerHeight;
this.userAgent = navigator.userAgent;

// For supporting Brave browser detection,
// add "Brave/<version>" to the user agent with the version value from the Chrome component
Expand Down

0 comments on commit 9a88148

Please sign in to comment.