SaaSquatch Help Center

Include custom information about users in your SaaSquatch Program.

๐Ÿ”— Overview

Custom fields are pieces of data that you send us about your participants, above and beyond the minimum required to power your program. You can send us all kinds of information in the form of a custom field, like:

  • Birthday
  • Language
  • Location
  • Type of subscription
  • Membership status

You can build program rules that use the information from custom fields to trigger goals and actions. This custom information can also be referenced if you place your participants into segments.

Related to custom fields are calculated fields. Unlike custom fields, which just record the information you send us, calculated fields allow you to perform different types of calculations with the data you send us, and then store the resulting value as a custom field thatโ€™s available on the participantโ€™s profile.

Custom fields can be sent to us when you upload a user import file or via squatch.js, API, SDK, or another integration method.

๐Ÿ”— Field characteristics

Any custom fields you send us need to meet a few requirements for field names and values.

๐Ÿ”— Names

  • Up to 64 characters
  • Only alphanumeric characters, dashes, and underscores are accepted (Note: letters must be unaccented)
  • Case sensitive. customFieldName is treated as distinct from customfieldname

๐Ÿ”— Values

  • Supports string, number, Boolean and null types
  • Max string value of 1024 characters
  • Dates must be formatted as a unix timestamp in milliseconds
  • Maximum of 100 fields can be added/updated per request
  • Setting a custom field for a user to null will remove the field for that user.

๐Ÿ”— Sending custom fields

You can include custom fields whenever you create, update or upsert users, regardless of the method you use to send us the data.

๐Ÿ”— File imports

You can include custom fields when importing new users or updating existing users in bulk. See our documentation on Bulk User Import and Bulk Event Import for instructions.

Tip: We have sample CSVs and JSONL files available to guide your import. These are also accessible from the Admin Portal.

User data imports:

Event data imports:

๐Ÿ”— APIs and SDKs

Custom fields can be included when using our GraphQL API methods or Rest API endpoints that create, update or upsert users. Similarly, they can also be included when using squatch.js or our mobile SDKs to create, update or upsert users from within your application.