Skip to content

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

Remove debug statement

Uku Tahte7f13f7d70f4
diff --git a/lib/plausible_web/controllers/api/external_controller.ex b/lib/plausible_web/controllers/api/external_controller.ex
index 36fda2d5ff..6fe216206e 100644
--- a/lib/plausible_web/controllers/api/external_controller.ex
+++ b/lib/plausible_web/controllers/api/external_controller.ex
@@ -383,7 +383,6 @@ defmodule PlausibleWeb.Api.ExternalController do
defp visitor_location_details(conn) do
result =
PlausibleWeb.RemoteIp.get(conn)
- |> IO.inspect()
|> Geolix.lookup()
country_code = get_in(result, [:geolocation, :country, :iso_code])