Skip to main content
Version: v1

Set User Events

POST /users/v1/individual/{uid}/customevent

Capture custom events for users who have previously been identified in the browser via the FS.identify Browser API function. Use this API to track events from other systems that do not originate directly from the browser or mobile device.

Anonymous users

This API will only work for previously-identified users for whom the FS.identify or FS.setUserVars Browser API was called. Anonymous users lack the required uid necessary for this API to function. You may want to associate server events with a Fullstory session. This is useful if the event occurred as a result of the user’s online activity and you want the user session to reflect both online and server activity. Example: capturing payment gateway errors during checkout.

There are three ways to associate an event to a user session. The session-related fields are all optional. You may include only one of these fields for each event: session_url, use_recent_session, and device_session

If none of the fields above are provided, or if the event timestamp falls outside the 30-minute recent activity window, the event still be ingested, but will not be associated with an existing user session. The event can be used in other analyses such as Metrics, Funnels, Journeys, and Conversions.

Request

Responses

200

A successful response.