feat: Allow configuring analytics API endpoint separate from flags API - #195
Open
matthewelwell wants to merge 1 commit into
Open
feat: Allow configuring analytics API endpoint separate from flags API#195matthewelwell wants to merge 1 commit into
matthewelwell wants to merge 1 commit into
Conversation
matthewelwell
marked this pull request as draft
August 18, 2026 08:30
matthewelwell
force-pushed
the
feat/support-separate-analytics-url
branch
from
August 18, 2026 08:36
1f52b7d to
279c30e
Compare
Currently, we only support having the analytics API on the same host as the flags/identities endpoints. This is not the case when using Edge Proxy, which does not accept analytics requests. This change adds `FlagsmithConfiguration.AnalyticsUri` to configure an arbitrary analytics endpoint URI, and adds an `AnalyticsProcessor` constructor overload taking that full URI, so it can also be used directly to manage analytics manually. The existing `baseApiUrl` constructor and `GetInstance` are unchanged. Ports Flagsmith/flagsmith-nodejs-client#168. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
matthewelwell
force-pushed
the
feat/support-separate-analytics-url
branch
from
August 18, 2026 08:42
279c30e to
6230d70
Compare
matthewelwell
marked this pull request as ready for review
August 18, 2026 08:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR ports flagsmith-nodejs-client#168 to the .NET client. It allows for the URL to which analytics data is posted to be changed from the default. This allows users to bypass the edge proxy for example, which doesn't support analytics.