usage_data

Track multiple internal GitLab events

Tracks one or more GitLab internal events in a single request. Each event increments Service Ping counters in Redis and is optionally sent to Snowplow. This feature was introduced in GitLab 17.3.

post/api/v4/usage_data/track_events

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Request body

Example request

{
  "events": [
    {
      "event": "i_quickactions_page",
      "namespace_id": 1234,
      "project_id": 1234,
      "project_path": "namespace/project",
      "additional_properties": {
        "label": "login_button",
        "value": 1
      },
      "send_to_snowplow": true
    }
  ]
}

Response

Track multiple internal GitLab events

Changes

No recorded changes to this operation across all 5 revisions of this API.