Docs Statistics

Statistics

Statistics counts what happened, day by day: the visits your campaigns received, and every way you earned points.

Open Statistics

Statistics has two tables, Campaigns and Earnings. Choose a period of 7, 30 or 90 days; the newest day comes first, and today counts as the last day of the period.

Days are UTC days, so a day may start and end at a different hour than your own clock. The Overview's hourly charts follow your own time zone instead (see the dashboard).

Campaigns by day

One row per campaign and day that had visits:

  • Day (UTC): the day, from midnight to midnight UTC.
  • Campaign: the campaign, by its title. It links to the campaign.
  • Visits: visits that completed that day.
  • From Hitlane's own viewers: how many of those visits came from viewers Hitlane runs itself. The table shows this column only when a day in the period has some; the CSV always has it.
  • Points spent: the points those visits cost.
  • Countries: the visits by the viewer's country, such as "US 9, DE 4", or "Unknown" when a country wasn't known.
Example: three rows of the Campaigns table, for sample campaigns of one-minute visits

Earnings by day

One row per day that had any of these:

  • Day (UTC): the day, from midnight to midnight UTC.
  • Viewing: points your viewers earned.
  • Referrals: points Hitlane added for the members you referred.
  • Transfers in: points other members sent you.
  • Transfers out: points you sent other members, with the fee each transfer took.
  • Purchases: points you bought in the shop.

Download a CSV

When the table has rows, Download CSV saves it for the period you chose, as hitlane-campaigns-30d.csv or hitlane-earnings-30d.csv for 30 days. The file opens in any spreadsheet app. A cell that starts with an equals sign, a plus, a minus or an at sign gets an apostrophe in front, so a campaign title can never run as a formula.

From the API

The same rows come as JSON from two calls, with a read key or a read-and-write key:

GET /v1/statistics/campaigns?days=30
GET /v1/statistics/earnings?days=30

A days value other than 7, 30 or 90 is refused. Statistics answers 60 reads an hour for each member, the dashboard and API keys together; past that it answers 429 with the seconds to wait. See the API reference for keys and limits.