Track widget activity

Record a view or click event for a widget, deduplicated per widget + activity type + IP + device per calendar day (increments a running total_count when the same combination is seen again that day).

Auth

  • Bearer — account (account) role.

Rate limit

  • No rate limit.

Body

FieldTypeRequiredNotes
widget_unique_idstringRequiredExisting widget unique_id.
activity_typestringRequiredview or click.
referrer_urlstringOptionalPage the widget was embedded on.
ip_addressstringOptionalClient IP (used in the daily dedup key).
device_typestringOptionaldesktop, mobile or tablet.

Behaviour

  • 200 with { "data": { "status": "success", "message": "Record saved successfully!" } }.
  • 422 validation (unknown widget / bad activity_type).
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
string
string
string
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json