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
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
..
controllers Parse event URL and domain in Plausible.Ingestion.Request (#2351) 4 years ago
plugs Add tagged-events script extension (#2333) 4 years ago
templates Fix container is not a DOM Element error (#2463) 4 years ago
views Merge pull request #2431 from plausible/fix-email-links 4 years ago
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 4 years ago
email.ex do not use default layout in internal email 4 years ago
endpoint.ex Remove redundant logger from Plug (#2303) 4 years ago
refinspector.ex [Continued] Google Analytics import (#1753) 5 years ago
remote_ip.ex Parse bunny header 5 years ago
router.ex improve first launch experience for self-hosters (#2357) 4 years ago