Sign up

Revenue

Send verified server events

Send events for actions your backend confirms, such as creating an account or completing onboarding.

Send an event

  1. Wait until the action succeeds

    Use the same user ID as Identify.

  2. POST the event from your backend

    terminal
    curl --request POST 'https://metricraven.com/api/v1/events' \
      --header "Authorization: Bearer $METRICRAVEN_SECRET_KEY" \
      --header 'Content-Type: application/json' \
      --data '{
      "name": "signup",
      "user_id": "user_42",
      "props": {
        "plan": "free"
      }
    }'

    Supply visitor_id when available, or let MetricRaven resolve the user's existing identity link.

Verify it works

The event appears in the Goal tab at the bottom of Traffic after refreshing.

Details

  • Unlike payments, server events have no deduplication key. Avoid blindly retrying successful submissions.
  • Server events linked to a visitor later keep their original event time in goals and funnels.