User function

analytics.identify (#user_id, #attributes)

This function provides support for creating and updating a user.

All requests made by JavaScript client library are processed daily at the start of the day 00:00 GMT for requests received for previous day.

We recommend leveraging our HTTP Server API to create and manage users so that any new account or attribute change is reflected in real-time and there are no delays.

analytics.identify(#user_id, {
attribute_key_1: "value",
attribute_key_2: "value",
...
attribute_key_n: "value"
});

Example

analytics.identify("[email protected]", {
first_name: "John",
last_name: "Doe",
});

For a list of available Attributes, refer to User Resources. Only those fields are allowed which aren't marked as Read-only.

Limitation: User call will be processed overnight.

All Account and User functions are processed overnight (not real time). Hence expect accounts users to be created in CustomerSuccessBox the following day. Processing queue starts 00:00 hours GMT, and can take upto several hours before it is completed.

If you wish to process this in real time, then use API calls instead of JS library.

‚Äč