Skip to content

Commit

Permalink
feat: segment track IPs (#298)
Browse files Browse the repository at this point in the history
resolves neondatabase/cloud#17309
IP address is collected by Segment itself with `context: {direct:
true}`, confirmed in Segment debugger.
  • Loading branch information
antelman107 authored Oct 24, 2024
1 parent 51fe65f commit 2b2092e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export const analyticsMiddleware = async (args: {
ci: isCi(),
githubEnvVars: getGithubEnvVars(process.env),
},
context: {
direct: true,
},
});
};

Expand Down

0 comments on commit 2b2092e

Please sign in to comment.