track_event

POST {{analytics_url}}/analytics/trackEvent

Similar to the identify call above you can send track_events into Userlot from the front end, using our analytics.js file.

    userlot(["trackEvent", "/**/", /**/, data = {}]);
    // For example
    userlot(["trackEvent", "view client", , { loadedPage: true }]);

Otherwise, utilize the API call below.

NOTE: The base URL of our analytics end point is analytics.userlot.app (not your subdomain)

Request Body

{"eventName"=>"MyCoolLogin", "company_external_id"=>"1000", "user_external_id"=>"12344", "data"=>{"value"=>1}}