Umami is a simple, fast, privacy-focused alternative to Google Analytics.
This release includes a new database migration. In this update we are making some changes to Events. Now instead of event_type
and event_value
columns, there is going to be a single renamed column, event_name
. Having the two separate columns caused a lot of confusion regarding what to store in each field. There is now a new table called event_data
which is used to store event related data. In the future you will be able to run reports against your events and event data.
Now to track events, you simply choose an event name, like button-click
and optionally send some JSON data along with it.
umami.trackEvent('button-click', { userId: 123, buttonName: 'Newsletter signup' });
When you start the app for the first time, the database changes will be automatically applied. Your data however will not be automatically migrated because we can't determine what event_name
you will want to use. Your old event table has been renamed to _event_old
, which you can use to manually move data to the new table. If you've never used events, feel free to delete the _event_old
table.
COLLECT_API_ENDPOINT
DISABLE_LOGIN
check from middleware due to Vercel issues.12.2.4
4.1.1
A huge thanks to all the contributors on this release! @cywio @briancao @wangyang0210 @biqette @umarhadi @H0rn0chse
A huge thanks to all the contributors on this release! @Lemonawa @cywio @Maxime-J @briancao
This is mainly a bug fix release.
COLLECT_API_ENDPOINT
not working. Note, you need to set this at build time to work. See https://umami.is/docs/environment-variables
A huge thanks to all the contributors on this release! @clem3109 @jenspots
Direct visits to your website (without a referrer) are now shown as (None)
The filters have been reduced to two options, Combined
and Raw
for both pages and referrers.
You can now view screen sizes in the more details section
Just like the custom tracking script name, you can now customize the /api/collect
endpoint to avoid some ad-blockers. Just set the environment variable COLLECT_API_ENDPOINT
to a different location:
COLLECT_API_ENDPOINT=/api/x
12.2.0
and Prisma to 4.1.0
.A huge thanks to all the contributors on this release! @MarcHagen @briancao @rohandebsarkar @njfdev @fredrikj31 @thueske @sifferhans @liaohongxing
This release will use Prisma migrations for the first time. This will help up make schema changes quickly and easily in the future in order to support new upcoming features. A new script called check-db
has been added and will run before starting the app. It verifies that your database connection is defined and working and that your schema is up to date. The script will inform you what commands you need to run to get your database up to date. You need to run the given command manually. The message will looks something like this:
✗ Database is out of date.
You need to update your database by running:
yarn prisma migrate resolve --applied "20210320112717_init"
Also as a result of this change, the installation process will be much easier for new installations. There is no longer a manual database step to set up the tables. It will all be handled through Prisma. Additionally, defining the HASH_SALT
environment variable is no longer required, but optional if you still want to use it.
IGNORE_HOSTNAME
environment variable. This will do a DNS lookup on a hostname and the resulting IP address will be ignored. This can be a comma delimited list of hostnames.DISABLE_UPDATES
environment variable which disables the new version check.HASH_SALT
requirement.v3.15.2
DISABLE_LOGIN
check from middleware to build step since it has been causing issues on Vercel.password
field from accounts queryA huge thanks to all the contributors on this release! @anbraten @userdehghani @bilguun0203 @valtlfelipe @saosangmo @Maxime-J
url
filter now also filters events12.1.0
due to Heroku issuesAll time
filter not working on shared pagesA huge thanks to all the contributors on this release! 🙏@winterrific @alessioforti @ym-project @Zxilly
FORCE_SSL
. This now sends a HSTS header instead of doing a redirect.TRACKER_SCRIPT_NAME
3.12.0
A huge thanks to all the contributors on this release! 🙏 @djyde @ilhamsyahids @1cgonza @Wonderfall @pajecawav @HolgerHuo @Lemonawa