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
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
..
api Parse event URL and domain in Plausible.Ingestion.Request (#2351) 4 years ago
site Improve test coverage (#2392) 4 years ago
auth_controller.ex improve first launch experience for self-hosters (#2357) 4 years ago
billing_controller.ex Redirect user after upgrading only when subscription is created (#2285) 4 years ago
helpers.ex Initial commit 7 years ago
invitation_controller.ex Improve test coverage (#2392) 4 years ago
page_controller.ex improve first launch experience for self-hosters (#2357) 4 years ago
site_controller.ex Improve test coverage (#2392) 4 years ago
stats_controller.ex Add support for intervals (#1574) 4 years ago
unsubscribe_controller.ex Add presence check when unsubscribing from email reports 6 years ago