Skip to content

User Profiling

NearIT creates an anonymous profile for every user of your app. You can choose to add data to user profile. This data will be available inside recipes to allow the creation of user targets.

Save the profile ID!

You should store the NearIT profile ID in your CRM database.

Every version of NearIT SDK allows to read the user profile ID from the mobile app. Saving the profile ID will let you to perform many task:

  • link our analytics to your users
  • add profile data to the users to be used as profiling options
  • associate all the devices of an user to the same NearIT profile.

Add user data to NearIT

Our APIs allows you to add, edit or delete any user data using your NearIT Profile ID as index.

POST /profiles/[PROFILE_ID]/data_points

{
  "data": [
    {
      "type": "data_points",
      "attributes": {
        "key": "some-key",
        "value": "Some Value"
      }
    },
    {
      "type": "data_points",
      "attributes": {
        "key": "some-other-key",
        "value": "Some Other Value"
      }
    }
  ]
}

Setup user data to be used inside recipes

Use the "Settings> User data mapping" section of NearIT to setup how your data should be used inside recipes. Use the UI to configure data fields, for any of them setup the label to be shown in our UIs and the data type.

Complete reference

For more details about our profiling system please look at the NearIT Congrego APIs reference.