Move from Plausible to Headstream
Updated 2026-11-25
What comes across
Your Plausible history imports from a CSV export (any plan, no key) or the Stats API. Imported history shows in reports for visitors, visits, pageviews and bounce rate, by page, referrer, UTM source and campaign, country, device and browser. Goal history comes too: create a goal in Headstream with the same name, or the same page path, and its imported conversions count toward it. Days stop where Headstream's own data starts, so no day counts twice.
1. Import your history
From a CSV export (simplest):
- In Plausible, open the site's settings, then Imports & Exports, and export the data as CSV.
- In Headstream, open Imports and upload the zip under Import a Plausible export. It's read in your browser, and only daily totals are sent.
From the Stats API, to keep it running while you switch:
- In Plausible, open Account settings, then API keys, and create a Stats API key.
- In Headstream, open Imports, choose Import from Plausible, paste the key and enter the site's domain.
Plausible allows 600 requests an hour per key. Days come in each site's reporting time zone. Importing again replaces the earlier import.
2. Add the script
Add the Headstream script next to your current one. Copy it from the Install card under Project, since that version holds your key:
<script defer src="https://in.headstream.app/t.js" data-key="YOUR_KEY"></script>
To keep ad blockers from missing visitors, serve it from your own domain with the recipe in the First-party tracking card. Your agent can do all of this from agent.md.
3. Move your events
| Plausible | Headstream |
|---|---|
plausible("Signup", { props: { plan: "pro" } }) | headstream.track("Signup", { plan: "pro" }) |
class="plausible-event-name=Signup" | data-headstream-event="Signup" |
class="plausible-event-plan=pro" | data-headstream-event-plan="pro" |
| Outbound links, file downloads, 404s | Sent for you, as outbound_click, file_download and page_not_found |
Use window.headstream?.track(...), since the script loads with defer. To keep your own visits out, as plausible_ignore did, open any page once with ?headstream_ignore=true. Then add each goal under Goals. See track events.
4. Run both, then remove Plausible
Leave both scripts on for two to four weeks. Imports shows a day-by-day comparison of Headstream's pageviews against the imported tool's on the days both were counting, so you can see the gap before you remove anything. Totals won't match exactly: tools count bots, blockers and sessions differently, and the methodology says what we count.
Then connect Stripe under Project. That's the part your old tool didn't do: revenue credited to the channels, campaigns and pages that earned it. See connect Stripe.
Questions
- Which Plausible files are imported?
- Visitors, pages, sources, locations, devices, browsers and custom events. Plausible's pages file has no bounce count, so imported page rows stay out of bounce rate rather than lowering it.
- Do I need a paid Plausible plan?
- No. The CSV export works on any plan. The Stats API needs a key from an account that can see the site.