Skip to content

Commit

Permalink
feat: track ip address in context field (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
subzet authored Jan 30, 2025
1 parent 7e50e7a commit e3c04f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/shared/src/analytics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ export class Analytics {
...this.getProperties(),
...eventProps,
},
context: {
direct: true,
},
};

return new Promise(resolve => {
Expand Down

0 comments on commit e3c04f7

Please sign in to comment.