Add Fields to an Analytics Object

You can add new fields to an analytics object that you created manually.

  1. Open the analytics object.
  2. Click Add field Add icon. from the fields table.
    A new row appears in the Fields table.
  3. Click the Name column for the new field and enter a name.
  4. Select a type from the Type list.
    The list displays primitive types and the analytics objects that you defined.
    The available primitive types are:
    • Int
    • Long
    • Float
    • Double
    • Boolean
    • String
  5. If this field is an array, then select Array.
  6. If this isn't a required field, then select Optional.
    If you select this option, then when developing your analytics processor you can’t assume this field exists. You must verify that it exists before accessing it.
  7. Click Save.
Your analytics object now contains the new field that you added. You can use this field to store data, and you can access it from your analytics processor.