You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test
Vini Brasil 1cb07efe6d
Save city name when importing from GA (#2608)
This commit adds city data to imported records from Google Analytics. The
current implementation sets city to 0 because GA does not use the GeoNames
database.

Google Analytics Reporting API uses [Geographical IDs](https://developers.google.com/analytics/devguides/collection/protocol/v1/geoid)
to identify cities and countries. Plausible uses
[GeoNames](https://geonames.org/) and I couldn't find databases corelating the
two.

Fortunately, GA also returns the city name and this commit uses the city name
and the country ISO code to find the Geoname ID. To avoid making expensive ETS
searches, I created another ETS table in the Location library that uses
{country, city} as a key.

Related PR: https://github.com/plausible/location/pull/3
4 years ago
..
e2e Make checkly alert after 5 minutes of downtime (#2599) 4 years ago
load Fix script path for k6 load test (#2068) 4 years ago
plausible Save city name when importing from GA (#2608) 4 years ago
plausible_web Fix 'field key does not exist' error (#2674) 4 years ago
priv Replace Geolix with Locus (#2362) 4 years ago
support Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
workers add a test and fix rendering the dashboard link 4 years ago
test_helper.exs Run tests in async mode where applicable (#2542) 4 years ago