diff --git a/lib/plausible_web/controllers/api/external_controller.ex b/lib/plausible_web/controllers/api/external_controller.ex index 6fe216206..36fda2d5f 100644 --- a/lib/plausible_web/controllers/api/external_controller.ex +++ b/lib/plausible_web/controllers/api/external_controller.ex @@ -383,6 +383,7 @@ 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])