activity-tracking

Track Activity

Track a user activity. Public, so it works for every visitor.

Queued (app.core.deferred). The admin live feed is fed from the consumer once the row is written, so it lags the click by the queue's latency, normally well under a second.

post/activity-tracking/track

Request body

session_idstring required
user_idstring nullable
activity_typestring required
activity_namestring required
activity_categorystring nullable
page_urlstring nullable
page_titlestring nullable
referrer_urlstring nullable
target_elementstring nullable
target_textstring nullable
metadataobject nullable
duration_msinteger nullable
interaction_time_msinteger nullable
anonymous_idstring nullable

Response

Successful Response

{"stackTrail":"paths:/activity-tracking/track:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes