analytics-react-native
analytics-react-native copied to clipboard
Settings CDN proxy url
The analytics-js library supports setting a proxy not only for tracking, but also for the Settings CDN url. Is there support for this in the analytics-react-native library as well?
Or is there some other way around this? For example, using an invalid writeKey, and then always supplying defaultSettings? That wouldn't be the nicest way around it though.
Thanks!
Hi @teejteej thanks for reaching out. Can I ask what your use-case is for this? We are not against it, just trying to get more context as we haven't had requests for this in react native quite yet. Thanks!
The main case for us would be GDPR related. We want to proxy any call (API and Settings CDN) made to Segment, and remove the end-user IP in the process.
thanks @teejteej I'll follow up as soon as I can!
Addressed in PR https://github.com/segmentio/analytics-react-native/pull/834