This enrichment uses snowplow referer-parser library to extract attribution data from referer URLs.
Knowing which sites refer users to our website is very much a staple of analytics in order to help understand traffic patterns. This enrichment takes the value of the referring URL and matches it against the company/site it belongs to.
This is particularly useful when looking for specific traffic from search engine providers or social networks for instance. Rather than scouring a full referrer URL list this enrichment adds an additional field so that it’s possible to look at reports that combine sub-domains from some of the bigger referrers.
Snowplow has several subdomains like console.snowplowanalytics.com and discourse.snowplowanalytics.com. As users move from these subdomains to our main snowplowanalytics.com domain, we would like to capture that traffic as being referred internally. Therefore we would set the configuration as such:
"internalDomains": [ "console.snowplowanalytics.com", "discourse.snowplowanalytics.com" ],
Enabling this enrichment with the above configuration would fill the
refr_medium column in our data warehouse with “Internal” (rather then “Unknown”) when the referring URL to a page matches the subdomains above.
This enrichment populates the following fields of the atomic event :
|Type of referer. Examples : Search, Internal, Unknown, Social, Email|
|Name of referer if recognised. Examples: Google, Facebook|
|Keywords if source is a search engine|
With this information in the data warehouse it’s possible to get such insights:
|refr_medium||number of sessions|