You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
referer-parser is a database for extracting marketing attribution data (such as search terms) from referer URLs, inspired by the [ua-parser][ua-parser] project (an equivalent library for user agent parsing).
6
4
7
5
The referer-parser project also contains multiple libraries for working with the referer-parser database in different languages.
for (r <-Parser.parse(refererUrl, pageUrl, internalDomains)) {
88
-
println(r.medium) // => "internal"
89
-
for (s <- r.source) {
90
-
println(s) // => null
91
-
}
92
-
for (t <- r.term) {
93
-
println(t) // => null
94
-
}
95
-
}
96
-
```
27
+
## Usage: Java
97
28
98
-
For more information, please see the Java/Scala [README][java-scala-readme].
29
+
Check out the dedicated repository: https://github.com/snowplow-referer-parser/java-referer-parser
99
30
100
31
## Usage: Ruby
101
32
@@ -196,16 +127,8 @@ You can contact the Snowplow Analytics team through any of the [channels listed
196
127
197
128
`referers.yml`is based on [Piwik's][piwik] [`SearchEngines.php`][piwik-search-engines] and [`Socials.php`][piwik-socials], copyright 2012 Matthieu Aubry and available under the [GNU General Public License v3][gpl-license].
198
129
199
-
The Java/Scala port is copyright 2012-2014 [Snowplow Analytics Ltd][snowplow-analytics] and is available under the [Apache License, Version 2.0][apache-license].
200
-
201
130
The node.js (JavaScript) port is copyright 2013-2014 [Martin Katrenik][mkatrenik] and is available under the [Apache License, Version 2.0][apache-license].
202
131
203
-
The .NET (C#) port is copyright 2013-2014 [iPerform Software][iperform] and is available under the [Apache License, Version 2.0][apache-license].
204
-
205
-
The Go port is copyright 2014 [Thomas Sileo][tsileo] and is available under the [MIT License][mit-license].
206
-
207
-
The Erlang port is copyright 2017 [Silviu Caragea][silviucpp] and is available under the [MIT License][mit-license].
208
-
209
132
[ua-parser]: https://github.com/tobie/ua-parser
210
133
211
134
[snowplow]: https://github.com/snowplow/snowplow
@@ -224,7 +147,6 @@ The Erlang port is copyright 2017 [Silviu Caragea][silviucpp] and is available u
0 commit comments