From 139adc4056c578adc5d417059827247c61dd27cc Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Thu, 9 Dec 2021 11:49:00 +0200 Subject: [PATCH] Add more mobile browser rules --- lib/plausible_web/controllers/api/external_controller.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/plausible_web/controllers/api/external_controller.ex b/lib/plausible_web/controllers/api/external_controller.ex index cc69f2031..b111b938f 100644 --- a/lib/plausible_web/controllers/api/external_controller.ex +++ b/lib/plausible_web/controllers/api/external_controller.ex @@ -332,6 +332,9 @@ defmodule PlausibleWeb.Api.ExternalController do %UAInspector.Result.Client{name: "Firefox Mobile"} -> "Firefox" %UAInspector.Result.Client{name: "Firefox Mobile iOS"} -> "Firefox" %UAInspector.Result.Client{name: "Opera Mobile"} -> "Opera" + %UAInspector.Result.Client{name: "Opera Mini"} -> "Opera" + %UAInspector.Result.Client{name: "Opera Mini iOS"} -> "Opera" + %UAInspector.Result.Client{name: "Yandex Browser Lite"} -> "Yandex Browser" %UAInspector.Result.Client{name: "Chrome Webview"} -> "Mobile App" %UAInspector.Result.Client{type: "mobile app"} -> "Mobile App" client -> client.name