Feature | Umami | Posthog | Google Analytics |
---|---|---|---|
Self-hosted | ✔ Yes | ❌ No (Cloud-based) | ❌ No (Cloud-based) |
Open Source | ✔ Yes | ✔ Yes | ❌ No |
User-Friendly Interface | ✔ Yes | ✔ Intuitive UX | ❌ Can be complex for beginners |
Real-time Data | ✔ Yes | ✔ Real-time event tracking | ❌ Delayed data updates (not real-time) |
Extensive Features | ❌ Limited | ✔ Feature-rich | ✔ Wide range of features and reporting options |
Integration Options | ❌ Few | ✔ Broad integrations | ✔ Seamless integration with Google products |
Data Privacy | ✔ Full control over data | ✔ Emphasis on data privacy | ❌ Hosted on Google servers, potential privacy concerns |
Large User Base | ✔ Vast user community on Github | ❌ Smaller Community Than Others | ✔ Vast user community and extensive documentation |
Own Server Setup | ✔ Required if self-hosting | ✔ Required if self-hosting | ❌ Not applicable (cloud-based) |
Learning Curve | ✔ Easy to set up | ✔ Straightforward setup process | ✔ Easy to set up |
Ecosystem | ❌ Limited | ❌ Developing ecosystem | ✔ Part of the Google Marketing Platform |
Note: Tick marks (✔) indicate the presence of the feature, while crosses (❌) indicate the absence or limitations in that aspect.
- Signup On https://codesphere.com/
- Create a new instance using the
+ New Workspace
button. - Put in the URL: https://github.com/codesphere-community/Umami in the input box.
- Choose the
Boost
plan at the minimum with Always On/Off or when unused based on your requirements (installation might crash on the other lower plans due to lack of resources/storage). - Click on the
Create button
. - Go to the
Setup
section on the top-left and then click onEnv vars
. - Click on
+ Add new variable
and then put DATABASE_URL in the left input box. - Enter your database MySQL / PostgreSQL Database URL (You can create one on Codesphere if you don’t have it) in the right side input.
- Go to the CI Pipeline at the bottom of the screen.
- Click on the Prepare section and then press the “Run” button.
- Wait for the “Prepare” box to end. Afterward, Go to the Run section and click the
Run
button. - Once ✓ Ready is displayed in the terminal, click on the Open Deployment button on the top panel. Enter the default Umami credentials i.e., username: admin and password: umami
You're ready to now use it on your site!
- Login with the credentials (if unchanged, follow step 12's credentials)
- Click on
Settings
on the header. - Click on
+ Add Website
. - Enter the name and the domain of your website example: (Example Website, example.com).
- Click on
Save
. - Check your website in the list and click the
Edit
button. - Go to the
Tracking Code
section and copy the script. - Paste the tracking code in the <head> tag of your website.
- Go to the
Dashboard
option.