Features
Importing history
Bring your visit history over from Plausible, Umami, or a CSV file, and your short links from Umami, Dub, Bitly, Short.io, Rebrandly, or a CSV file.
Moving to Runlight doesn’t mean starting from zero. Settings, Import brings your visit history over from another service, and only days before Runlight’s own first visit come across, so no day is counted twice.
From Plausible
In Plausible, open the site’s settings, then Imports & Exports, and choose Export data. Plausible emails you a link to a ZIP file. In Runlight’s Settings, Import, Visits, choose Plausible and pick the ZIP, or the CSV files inside it. The file is read in your browser, and only the daily totals are sent.
Nothing shows in the reports until you review the import. Runlight lists its days with their visitors, visits, and pageviews, and draws a bar for each month, and you keep the import or discard it. A kept import stays listed below, where Roll back takes its days out of every report at once. Importing the same export again brings them back.
Only days before Runlight’s own first visit come across, so no day is counted twice.
Plausible’s export holds a total for each day, and Runlight keeps those totals as they are. The six numbers, the chart, sources, campaigns, pages with their time on page and scroll depth, countries, regions, devices, browsers, operating systems, and events all include them, and so do goals for an event or a single page. A filter, the live view, When people visit, journeys, funnels, and goals that match a page pattern such as /blog/* or take their amount from the event count only the visits Runlight recorded itself. Cities are left out, since Plausible keeps them as GeoNames ids, and so are custom properties.
The import needs a database that keeps daily totals, so an install that uses ClickHouse turns it down and says why.
From Umami
In Settings, Import, Visits, sign in to your Umami with an API key (or a username and password on a stock self-hosted Umami) and pick the Umami website that matches this site.
Runlight reads its pageviews and custom events a few days at a time, oldest first, and writes them as visits with their sources, campaigns, places, and devices. A gap of thirty minutes starts a new visit, as it does for live visits.
The import stops where Runlight’s own visits begin, so no day is counted twice, and it skips days older than the site keeps under Settings, Data. If you stop it or close the page, running it again carries on from the last day it finished.
Umami records no engaged time, so an imported visit’s length runs from its first pageview to its last. Your key or password is only used while the import runs and is never saved.
From a CSV file
In Settings, Import, Visits, choose A CSV file and pick the file. Runlight takes two kinds of file and tells them apart by their header row.
The first is the CSV from Umami’s data export, with one row for each pageview or event, which suits an Umami you can no longer reach. The second is Runlight’s own visit format, for history from anywhere else, as long as it has a row for each pageview. A script or an AI assistant can turn most raw logs into it.
| Column | What it holds |
|---|---|
time |
When it happened, as ISO 8601 (2024-05-01T12:34:56Z), 2024-05-01 12:34:56 in UTC, or a Unix time in seconds or milliseconds. Required. |
url or path |
The full address, or the path with its query string. Required. |
hostname |
The host, when path is used. Defaults to the site’s first domain. |
visitor |
Any id that stays the same for one person, such as a session id. Rows with the same visitor less than thirty minutes apart make one visit. Without it, every row is its own visit. |
event |
A custom event’s name. A row with one is an event on that page, and a row without one is a pageview. |
referrer |
Where the visit came from, as an address or a domain. |
title |
The page title. |
country, region, city |
A two-letter country code, a region code such as CA-ON, and a city name. |
browser, os, device |
Names such as Chrome, macOS, and mobile, tablet, or desktop. |
screen, language |
Such as 1440x900 and en-CA. |
csv
time,url,visitor,referrer,country,device
2024-05-01T12:34:56Z,https://example.com/?utm_source=newsletter,3f9a,news.ycombinator.com,CA,mobile
2024-05-01T12:36:10Z,https://example.com/pricing,3f9a,,CA,mobileAs with Umami, only rows from before Runlight’s own first visit and within what the site keeps come across, and campaigns are read from the utm_ parameters in each address. The file is read in your browser and sent 2,000 rows at a time. Importing the same file again replaces the rows it brought in before, so nothing is counted twice.
Short links
Settings, Import, Short links brings your short links over from Umami, Dub, Bitly, Short.io, Rebrandly, or a CSV file, with their click history where the service shares it. Importing links has the details.