Search Results
Unit Testing Umami.Net - Testing Umami Data Without Using Moq
In the previous part of this series where I tested Umami.Net tracking methods The Problem In the previous part I used Moq to give me a Mock<HttpMessageHandler> and return the handler used in...

Wednesday, 04 September 2024 20:30

//

7 minute read

Adding a C# Umami Tracking client
In a previous post we added a client for fetching Umami analytics data. In this post we will add a client for sending tracking data to Umami from a C# application. Umami is a lightweight analytics...

Sunday, 18 August 2024 20:13

//

6 minute read

Umami.Net and Bot Detection
So I've posted a LOT in the past on using Umami for analytics in a self-hosted environment and even published the Umami.Net Nuget pacakge. However I was having an issue where I wanted to track users...

Thursday, 12 September 2024 14:50

//

8 minute read

Using Umami Data for Website Stats
One of my projects since starting this blog is an almost obsessive wish to track how many users look at my website. To do this I use Umami and have a BUNCH of posts around using and setting up Umami....

Thursday, 05 September 2024 23:45

//

10 minute read

Adding Umami Tracking Client Nuget Package
Now I have the Umami client; I need to package it up and make it available as a Nuget package. This is a pretty simple process but there are a few things to be aware of. Creating the Nuget...

Wednesday, 28 August 2024 02:00

//

4 minute read

Adding a C# Client For Umami API
Imtroduction In this post, I will show you how to create a C# client for the Umami reporting API. This is a simple example that demonstrates how to authenticate with the API and retrieve data from...

Wednesday, 14 August 2024 01:27

//

6 minute read

Unit Testing Umami.Net - Testing UmamiClient
Now I have the Umami.Net package out there I of course want to ensure it all works as expected. To do this the best way is to somewhat comprehensively test all the methods and classes. This is where...

Sunday, 01 September 2024 17:22

//

6 minute read

Adding Umami Tracking Client Follow Up
In an earlier post I sketched out how a Tracking Client for Umami in C# could work. Well I've finally had a chance to test it extensively and improve it's operation (yes ANOTHER...

Tuesday, 27 August 2024 02:00

//

6 minute read

Unit Testing Umami.Net - Testing UmamiBackgroundSender
In the previous article, we discussed how to test the UmamiClient using xUnit and Moq. In this article, we will discuss how to test the UmamiBackgroundSender class. The UmamiBackgroundSender is a bit...

Tuesday, 03 September 2024 09:00

//

8 minute read

Using Umami for Local Analytics
One of the things that annoyed me about my current setup was having to use Google Analytics to get visitor data (what little there is of it ??). So I wanted to find something I could self-host that...

Thursday, 08 August 2024 15:53

//

5 minute read

logo

©2024 Scott Galloway