Open source, from the SDK to the server
Any vendor can say it respects privacy. Respectlytics lets you check: the code that runs in your users' apps and the code that stores the data are both public.
MIT-licensed SDKs and an AGPL-3.0 server. Run it yourself, or let us run it.
The whole stack is public
From the code on the device to the server that stores the five fields.
The SDKs, under MIT
Use, change and ship them in any app, proprietary or open source, and read exactly what leaves the device.
The server, under AGPL-3.0
The Community Edition: the analytics API with its five-field schema, the dashboard with conversion paths, drop-offs, funnels and segments, and the country lookup that never stores an IP address.
- Swift Swift Package Manager, SwiftUI and UIKit iOS 15 and macOS 12 or later.
- Kotlin One Gradle line from Maven Central Android 7.0 (API level 24) and later.
- Flutter One package for five platforms iOS, Android, macOS, Linux and Windows.
- React Native Works with Expo and bare projects React Native 0.70 and later, with TypeScript types.
Why it matters for analytics
Analytics handles data about the people who use your app. Open code turns a promise into something you can read.
You can verify it
Read the SDK to see what leaves the device, and the server to see what is stored. Your security team can audit the whole path.
Code, not a badge
A compliance badge is a vendor's word. When someone asks what your analytics collects, you can point to the source.
No lock-in
Run it yourself, move it, or fork it. AGPL-3.0 keeps improvements to the server open for everyone.
No compliance claims
We do not claim that anyone complies with a regulation. We make the architecture auditable, so your legal team can decide.
Two ways to run it
The same analytics either way. The difference is who runs the server.
Community Edition, free
On your own infrastructure. You run, update and back up the server, keep the country lookup data current and schedule the retention purge.
- Docker and PostgreSQL, nothing else
- Every line of the server to read and change
Hosted by us
We run it for you on servers in the European Union, with a 14-day free trial.
- No servers to run or update
- Country lookup data kept current, retention applied for you
- Support from the people who build it
Run the Community Edition
From the README on GitHub. Then open http://localhost:8080.
git clone https://github.com/respectlytics/respectlytics.git
cd respectlytics
cp .env.example .env
python3 -c "from secrets import token_urlsafe; print(f'SECRET_KEY={token_urlsafe(50)}')" >> .env
docker compose up -d
docker compose exec web python manage.py createsuperuser
Questions about open source
Licenses, editions and running it yourself.
Is Respectlytics open source from end to end?
Yes. The four SDKs are MIT-licensed, and the server is published as the Community Edition under AGPL-3.0. Both are on GitHub.
What is the difference between the Community Edition and the hosted service?
The analytics are the same: the API, the dashboard, conversion paths, drop-offs, lift scores, funnels and segments. With the hosted service we run it for you in the EU, keep the country lookup data current, apply the retention policy and answer support. With the Community Edition you run, update and back up the server yourself.
Why AGPL-3.0 for the server and MIT for the SDKs?
MIT lets you put the SDKs in any app, open source or not. AGPL-3.0 keeps improvements to the server open: whoever runs a modified version as a service must publish the changes.
What do I need to run it myself?
Docker and PostgreSQL. The README on GitHub has the setup, including how to schedule the country lookup updates and the retention purge.
What if the AGPL does not fit my company?
A commercial license is available for organizations that cannot use AGPL-3.0 code. Write to us.
Try it on your own app
14-day free trial, no credit card. Unlimited apps on every plan.
Consult your legal team to determine the requirements that apply to your app.