Skip to content

v0.21.0

Compare
Choose a tag to compare
@mikecao mikecao released this 03 Sep 22:55
· 4171 commits to master since this release
681852b

New features

Custom events

You can now send custom events to umami using the global umami variable. Example:

const button = document.getElementById('signup-button');

button.onclick = () => umami('Sign up button click');

You could already do this using umami CSS classes, umami--onclick--signup-button-click, but now you have more control via custom Javascript.

Responsive chart labels

Chart labels should now display correctly at mobile screen sizes
image
image

Query string URLs now supported

Some applications use URLs like /blog/index.php?/article/100 for navigation. This is now correctly counted as a unique URL.