Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Actually ignore unkown device type (#3267)

Uku Taht3f9ca35d58ad
diff --git a/lib/plausible/ingestion/event.ex b/lib/plausible/ingestion/event.ex
index c6d698f902..90d9fb395e 100644
--- a/lib/plausible/ingestion/event.ex
+++ b/lib/plausible/ingestion/event.ex
@@ -372,7 +372,7 @@ defmodule Plausible.Ingestion.Event do
%Device{type: t} when t in @desktop_types ->
"Desktop"
- %Device{type: "unknown"} ->
+ %Device{type: :unknown} ->
nil
%Device{type: type} ->