Switching from June to Accoil
Learn how to send event data from June.so into Accoil using Segment, Rudderstack, the June SDK, JavaScript, or the Accoil API.
This guide will help you get your data flowing into Accoil quickly and correctly — whether you're using Segment, Rudderstack, June’s SDK, JavaScript, or the Accoil API.
We’re not asking you to stop sending data to June. In fact, before you start sending data to Accoil, we strongly recommend exporting your June data first. This ensures you have a clean snapshot of your event history and prevents any risk of duplicated data between systems.
1. Sign Up For Accoil
Start by creating your Accoil account: 👉 Sign up for Accoil
Once you have signed up you will be provided with an API key that will be used to deliver your event data.
Once your data is flowing, your workspace will be ready within 24 hours — allowing you to build engagement profiles and start uncovering how customers use your product.

2. Recommended: Export Your Data from June (Before You Send to Accoil)
Before you integrate with Accoil, we recommend that you export your existing June data:
- Follow the instructions on How to export your June data.
- Save that export securely — this snapshot will allow you to import historical data later without duplicates.
We’re actively working on an import facility for June-formatted data.As of July 9, 2025, it's not yet available — but stay tuned or contact us and we'll tell you the moment it is available.
3. Choose How You’ll Send Data to Accoil
Accoil supports multiple integration options. Choose the one that best matches your current setup.
✅ A: Segment
Best for teams already using Segment
- In your Segment workspace, add Accoil as a destination.
- Enter your API key.
- Enable the destination.
- Accoil will begin ingesting data instantly — no code changes required.
📘 View Segment Integration Guide →
✅ B: Rudderstack
Best for teams using Rudderstack pipelines
- Add Accoil as a destination in Rudderstack.
- Enter your API key
- Accoil will immediately begin receiving your product analytics data.
📘 View Rudderstack Setup Guide →
✅ C: PostHog
Already using PostHog, then create a data pipeline
While PostHog has created an 'Accoil Analytics' destination in their data pipeline options, it was not developed in consultation with us. We recommend for now using a HTTP Destination to deliver your data from PostHog to Accoil.
📘 Connect PostHog to Accoil Guide →
✅ D: Direct API Integration (some changes)
Ideal for server-side tracking or custom pipelines
You can send data directly to Accoil's HTTP API using the track
, identify
, and group
endpoints. This is a great option if you're sending data from your backend, middleware, or a data pipeline.
However, note that Accoil does not store or process the properties attached to track calls.
🚧 E: Browser / Javascript (with changes)
If you're using the June-provided JavaScript snippet, you can replace it with Accoil’s lightweight tracker.js
to continue tracking events from the browser. This approach is ideal for teams who implemented June’s SDK via window.analytics
and are now looking to migrate tracking into Accoil.
Accoil's tracker:
- ✅ Supports
track
,identify
, andgroup
methods - 🔄 Does not include a
.page()
method — use a.track("[Page Name] Viewed")
call instead - 🛠️ Accepts user and group traits like June
- ⚠️ Uses
window.accoil
(notwindow.analytics
) — some code changes required
📘 View detailed instructions on switching to Accoil →
🔜 F: June SDK → Accoil (Coming Soon)
We're working on a way for teams using the June SDK to start sending data directly to Accoil’s API with minimal (or no) code changes.
- You won’t need to rip out your implementation — just redirect your payloads.
- In the meantime, feel free to contact us and we’ll support you through the transition.
5. FAQ
Can I import my historical data from June?
Yes — but not just yet. We're building an import process for June-formatted exports. If you've saved your June export, you’ll be able to upload it into Accoil soon.
📧 Contact us if you'd like early access.
Can I keep using the June SDK?
We’re working on a solution that lets you redirect June SDK traffic to Accoil with little or no code change. More on this soon — reach out if you're interested in testing it.
Is Accoil built for long-term use?
Yes — Accoil is backed by over 6 years of product development, and our founding team has spent 20 years in B2B SaaS. We're here for the long haul.
Do you offer migration support?
Absolutely. You can join our Slack, or work directly with our team — we’re happy to support your migration hands-on.
Updated about 17 hours ago