package refererparser
- Alphabetic
- Public
- Protected
Type Members
- final case class CorruptJsonException(message: String) extends Exception with Product with Serializable
- trait CreateParser[F[_]] extends AnyRef
- final case class ExternalReferer(medium: String, source: String, term: Option[String]) extends Referer with Product with Serializable
External referer - traffic from a known external source with a specific medium.
External referer - traffic from a known external source with a specific medium. All external referers have a source and may optionally have a term extracted from query parameters.
- final case class ParsedReferers(byDomain: Map[String, RefererLookup], byUtmSource: Map[String, RefererLookup]) extends Product with Serializable
A parsed referer database, split into two independent lookup indexes:
A parsed referer database, split into two independent lookup indexes:
byDomain: referer host (+ optional path) -> referer, used when parsing a Referer URIbyUtmSource: injectedutm_sourcevalue -> referer, used to classify query parameters
The two are built directly from the referer entries rather than one being derived from the other, so
utm_sourcesare never tied to the presence ofdomains. - class Parser extends AnyRef
- sealed trait Referer extends AnyRef
Referer - returned from parse, representing any type of referer source.
Referer - returned from parse, representing any type of referer source. Can be internal, unknown, or external with a specific medium type.
- final case class RefererLookup(medium: String, source: String, parameters: List[String]) extends Product with Serializable
Value Members
- object CreateParser
- case object InternalReferer extends Referer with Product with Serializable
Internal referer - traffic from the same domain as the page.
- object ParseReferers
Handles loading and storing referers
- object ParsedReferers extends Serializable
- object Parser
- case object UnknownReferer extends Referer with Product with Serializable
Unknown referer - traffic from an unrecognized source.