# Swetrix

> Cookieless web analytics with speed and error tracking.

- Page: https://cgt.octabyte.io/templates/swetrix/
- Category: Analytics
- Replaces: Google Analytics and Mixpanel
- Ease of use: Easy. The first person to sign up becomes the admin; then you add your website and paste one short script into it. Add an email service later so password resets and invitations are sent.
- App price: Free. To run it you need Cloudgate (hosted, or free to install yourself) and a server, which hosted Cloudgate can provide.
- License: AGPL-3.0-only
- Good for: Website owners who want cookieless visitor stats plus page speed and error tracking in one place
- Official website: https://swetrix.com
- Documentation: https://swetrix.com/docs/selfhosting/how-to
- Source code: https://github.com/Swetrix/swetrix
- Last updated: 2026-11-20

## What is Swetrix?

Swetrix is self-hosted, cookieless web analytics that replaces Google Analytics and adds custom events, funnels, page speed and error tracking.

Swetrix is open-source, cookieless web analytics that you can self-host in place of Google Analytics. It shows who visits your website, where they came from and what they do, and it adds custom events, funnels, page speed and error tracking that a basic visitor counter doesn't have.

Swetrix Community Edition is the free, self-hosted version. It covers visitor stats, events, sessions, user flows, funnels, real-visitor loading times and browser errors. Revenue analytics, A/B experiments, Ask AI, alerts, email reports and team roles are only in the paid Swetrix Cloud. An online shop, for example, could build a funnel from product page to checkout, see where shoppers give up, and check whether the checkout page is slow or showing errors in some browsers.

Swetrix works with any website: you paste one short script into the site, the same way you would add Google Analytics. There is no phone app, but the dashboard works in a phone's browser.

Cloudgate installs Swetrix on a server Cloudgate provides or one you connect, together with the databases it needs, and gives it a secure web address. The first person to sign up becomes the admin. Add an email service later so password resets are sent; session replays need storage you set up yourself.

## What you can do with Swetrix

- **See who visits and from where**: Top pages, entry and exit pages, sources, UTM campaigns, devices, browsers, countries and cities on a map, and who is on the site right now.
- **Count what matters**: Track sign-ups, button clicks and other key actions as custom events, with extra details attached to each.
- **Follow the path through your site**: Sessions and user flows show the pages people visit in order.
- **Find where people drop off**: Build funnels, such as product page to basket to checkout, and see how many people reach each step.
- **Check how fast your pages load**: Real visitors' loading times, including server response and page rendering, show which pages are slow.
- **Catch website errors**: Errors that happen in visitors' browsers are collected and grouped, so you can see which ones are most common.
- **Share your stats**: Make a project public, share it behind a password, or invite people to view it.

## Replaces Google Analytics and Mixpanel

Swetrix does the same job as Google Analytics and Mixpanel. Here is what changes when you switch.

### What you gain

- No cookies, so most websites need no cookie banner for it
- Your visitors' data stays on your server and is not sent to Google
- Page speed and error tracking in the same dashboard as your traffic
- Funnels and user flows without a separate product analytics tool

### What is different

- Fewer reports than Google Analytics, and no link to Google Ads
- Revenue analytics, A/B experiments, alerts, email reports and team roles are only in the paid Swetrix Cloud
- Your Google Analytics history does not come across unless you set up Google's sign-in yourself
- It needs more memory than the lightest analytics tools

## What happens when you click Deploy?

Deploy link: https://cloudgate.octabyte.app/get-started?template=swetrix

1. **Click Deploy and create your account.** Deploy takes you to Cloudgate. Create an account, or log in if you have one. Swetrix itself is free.
2. **Choose a server.** No server? Get one from Cloudgate: pick a size and a country, and Cloudgate gets it ready. Already have one? Connect it instead.
3. **Cloudgate sets up Swetrix.** It prepares the server, makes the passwords the app needs and starts it. There is nothing to install and nothing to write down.
4. **Open your app and sign in.** Your app gets a free web address to start, without https. Add your own domain, like app.yourshop.com, and Cloudgate secures it with https for you.

## Questions

### Is Swetrix free?

Yes, Swetrix Community Edition is free and open source under the AGPL-3.0 licence, and you pay only for your server. Some features, such as revenue analytics, A/B experiments and email reports, are only in the paid Swetrix Cloud.

### What does Swetrix Community Edition leave out compared with Swetrix Cloud?

Swetrix Community Edition leaves out revenue analytics, A/B experiments, Ask AI, alerts and notifications, email reports, and organisations with team roles. It also gets new features later than Cloud. Visitor stats, custom events, sessions, user flows, funnels, page speed and error tracking are all included.

### Is Swetrix a good alternative to Google Analytics?

Yes, Swetrix suits you if you want traffic stats, events and funnels without cookies, plus page-speed and error tracking that Google Analytics doesn't offer, all kept on your own server. Expect fewer reports than in Google Analytics, and no Google Ads link.

### How do I sign in to Swetrix the first time?

There is no default login; the first person to sign up on your Swetrix address becomes the admin, and sign-up then closes. Swetrix only writes emails to its logs until you add an email service, so password resets and invitations are not sent until then.

### Can I import my Google Analytics data into Swetrix?

Not straight away. Swetrix can import Google Analytics 4 data, but on your own server it needs a Google sign-in app that you create in your Google account, and this template does not set that up.

### Does self-hosted Swetrix record session replays?

Only after you connect Swetrix to your own S3-compatible file storage, which this template does not set up. Everything else, including funnels, page speed and error tracking, works without it.

### What server size do I need for Swetrix?

A medium server with 2 GB of memory, which is the minimum Swetrix recommends. Swetrix uses a dedicated analytics database that needs more memory as your traffic grows, so you can move to a bigger server later.

### Do I need technical skills to run Swetrix?

No. Click Deploy, create your Cloudgate account and choose a server, and Cloudgate sets up Swetrix and gives it a web address. You use it in your browser like any other online tool.

### Do I need my own server for Swetrix?

No. When you deploy Swetrix, hosted Cloudgate can provide a server. If you already rent one, you can connect it instead.
