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/lib/plausible_web/controllers/api
Vini Brasil 994e7d09de
Parse event URL and domain in Plausible.Ingestion.Request (#2351)
* Parse event URL in Plausible.Ingestion.Request

* Parse event domain in Plausible.Ingestion.Request

* Rework ingestion pipeline processing (#2462)

* Rework ingestion pipeline processing

So that Request can have multiple domains and
based on that each event is processed uniformly.
The build_and_buffer/1 function now returns an
accumulator with all the dropped/buffered events
for further inspection.

* Reduce function complexity

* Don't chain struct fields to check for an empty host

* Separate referrer and utm tags

* Fix up `with` clause, credo was right cc @vinibrsl

Co-authored-by: Adam Rutkowski <hq@mtod.org>
4 years ago
..
external_controller.ex Parse event URL and domain in Plausible.Ingestion.Request (#2351) 4 years ago
external_sites_controller.ex Improve test coverage (#2392) 4 years ago
external_stats_controller.ex add upper bound to limit parameter (#2226) 4 years ago
helpers.ex Block Stats API for locked sites (#2302) 4 years ago
internal_controller.ex Update the internal /sites api to paginate results (#1824) 5 years ago
paddle_controller.ex Remove old Sentry code 6 years ago
stats_controller.ex Add support for intervals (#1574) 4 years ago