Skip to content

Setting a Person's IP address fails unless accompanied with other properties #4

Open
@yaronguez

Description

@yaronguez

I'm trying to update a person's profile with their IP address but find that MixPanel does not recognize the update unless another property is included. This behavior does not happen when using the JavaScript library.

For example, the following has no effect on the user's profile:

_mixPanelClient.PeopleSet(userName, new Dictionary<string, object>
{
    { MixpanelProperty.Ip, "some.ip.address"  }
});

Whereas the following WILL update the user's location MixPanel (and create a new foo = bar property)

_mixPanelClient.PeopleSet(userName, new Dictionary<string, object>
{
    { MixpanelProperty.Ip, "some.ip.address"  },
    { "foo", "bar"}
});

Whereas with the Javascript library, running mixpanel.people.set("ip", "some.ip.address") will update the user's profile accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions