Move from GoatCounter, your history included
Move from GoatCounter to mettr with your history: export its CSV of hits, upload it, and mettr adds the hits up into each day's visits, pages, sources and places. Step by step.
Before you start
- A mettr site with its script. Add the script first, or on the same day: mettr imports every day before its own first event, so nothing is counted twice and no day is left empty between the two.
- Pageviews collected in GoatCounter. Its CSV export has every hit, so GoatCounter offers it only while the site collects pageviews: check its site settings.
- Your plan's history. mettr imports as far back as your plan keeps: six months on Free, two years on Pro, five on Business.
1. Export from GoatCounter
- In GoatCounter, open Settings, then Export/Import.
- Under Export to CSV, choose Start export.
- GoatCounter emails you a link once the export is ready; it is also listed among the last exports on the same page. Download the file, a
.csv.gz.
GoatCounter makes one export an hour.
2. Upload it to mettr
- In mettr, open the site's Settings, then Import.
- Beside GoatCounter, choose Upload.
- Choose the
.csv.gzfile. If your browser unpacked it, choose the CSV in it instead. - Check the days: by default those of the export your plan keeps, up to the day before your first event in mettr.
- Choose Import.
Your browser unpacks the file and sends its rows in pieces; the tab shows how many have gone. Keep the tab open until the upload is done. The file itself is never stored, and Cancel upload stops and deletes what was sent. mettr reads version 2 of the export, the one GoatCounter makes today.
3. Let it run
Once uploaded, the import runs on mettr's side, a month at a time, newest first, with its progress on the Import page. You can close the page; Cancel import keeps the days read so far.
What comes in
The export has every hit rather than sums, so mettr adds them up itself: each day's totals with bounces and visit length, pages and entry pages, sources and channels, countries and regions, devices, browsers and your events. What comes in from GoatCounter, and how it adds up with your own days, is in the docs.
Read on
See your site live in two minutes
Free for one site. No card, no cookie banner