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/priv
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
..
clickhouse_repo/migrations Save city name when importing from GA (#2608) 4 years ago
ingest_repo/migrations Split Clickhouse pools into Read-Only and Read/Write (dedicated to writes) (#2661) 4 years ago
ref_inspector [Continued] Google Analytics import (#1753) 5 years ago
repo Save city name when importing from GA (#2608) 4 years ago
tracker/js Remove static tracker files (#2116) 4 years ago
ua_inspector Upgrade ua_inspector to 3.0 (#1762) 5 years ago
paddle.pem Initial commit 7 years ago
placeholder_favicon.ico Add fallback for favicon (#2279) 4 years ago
plans_v1.json Use JSON 6 years ago
plans_v2.json Localize the /upgrade page 6 years ago
plans_v3.json New plans 5 years ago
referer_favicon_domains.json Additional pre-commit hooks (#1428) 5 years ago