Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

Quick StartWhat is Saasco?

Analytics

postGet Funnel StepspostGet Funnel Steps By Day

CRM

Email Marketing

Knowledge

Support

Projects

Funnels

Get Funnel Steps By Day

The same sequential funnel as Get Funnel Steps, but broken out per day so you can chart step conversion over time. Returns one row per step per day.

POST
/projects/{projectId}/analytics/funnel-steps-by-day

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project to analyse.

Request Body

application/json

dateFromrequiredstring

Start of the window as an ISO 8601 timestamp.

dateTorequiredstring

End of the window as an ISO 8601 timestamp.

eventNamesrequiredarray<string>

Ordered list of event action names forming the funnel. Order matters: a user counts at step N only if they fired steps 1..N in this sequence.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/analytics/funnel-steps-by-day" \  -H "Content-Type: application/json" \  -d '{    "dateFrom": "string",    "dateTo": "string",    "eventNames": [      "string"    ]  }'
{
  "meta": [
    {
      "name": "string",
      "type": "string"
    }
  ],
  "rows": 0,
  "statistics": {
    "bytes_read": 0,
    "elapsed": 0,
    "rows_read": 0
  },
  "usage": {
    "cost": 0,
    "duration": 0,
    "metricCount": 0
  },
  "data": [
    {
      "count": 0,
      "day": "string",
      "step": "string"
    }
  ]
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Get Funnel Steps

Runs a sequential funnel over the named events and returns the number of users reaching each step. Order is significant: a user counts at step N only if they fired steps 1 through N in the given order within the window. Users are counted by anonymous ID, so the same person on two devices counts twice.

Get Usage

Returns metered spend for the project over a date window, broken down by day, app, and upstream service. This is the cost side of the ledger. See Get Balance Transactions for how that spend drew down the credit balance.