You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We need to anonymize the last byte of the IP when certain conditions are met. For that we have an Enrichment Plugin that tries to get the ip key from the context and map it but it doesn't seem to be there by that point.
To Reproduce
Steps to reproduce the behavior:
Create an Enrichment Plugin
Try to get the ip value from any event context
It will return nil
Expected behavior
IP is already accessible.
Platform (please complete the following information):
Library Version in use: 1.5.11
Platform being tested: iOS
Additional context
My guess is that certain context attributes are added internally by another Plugin at a later stage. Ideally I think that when our Plugins are executed the event should be as real as possible (meaning having the same elements that will be sent in the final event and before processing clients' plugins).
Maybe there's another kind of Plugin (not enrichment) that could fit this need?
The text was updated successfully, but these errors were encountered:
The ip value in context is set server side. If you supply your own ip address, the server won't add that value. However, the value the server sets would be inaccessible on-device. You can do what you're requesting via Segment's Functions product (here)
Describe the bug
We need to anonymize the last byte of the IP when certain conditions are met. For that we have an Enrichment Plugin that tries to get the
ip
key from the context and map it but it doesn't seem to be there by that point.To Reproduce
Steps to reproduce the behavior:
Expected behavior
IP is already accessible.
Platform (please complete the following information):
Additional context
My guess is that certain context attributes are added internally by another Plugin at a later stage. Ideally I think that when our Plugins are executed the event should be as real as possible (meaning having the same elements that will be sent in the final event and before processing clients' plugins).
Maybe there's another kind of Plugin (not enrichment) that could fit this need?
The text was updated successfully, but these errors were encountered: