referer parser enrichment - ClaraVista-IT/snowplow GitHub Wiki
HOME > SNOWPLOW SETUP GUIDE > Step 3: Setting up Enrich > Configurable enricments > referer-parser enrichment
JSON Schema iglu:com.snowplowanalytics.snowplow/referer_parser/jsonschema/1-0-0
Compatibility 0.9.6+
Data provider Snowplow referer-parser
The IP anonymization enrichment uses the Snowplow referer-parser to extract attribution data from referer URLs. You can provide a list of internal subdomains which will be treated as "internal" rather than unknown.
{
"schema": "iglu:com.snowplowanalytics.snowplow/referer_parser/jsonschema/1-0-0",
"data": {
"name": "referer_parser",
"vendor": "com.snowplowanalytics.snowplow",
"enabled": true,
"parameters": {
"internalDomains": [
"subdomain1.mysite.com",
"subdomain2.mysite.com"
]
}
}
}
In this example, if an event's referer URL is either "subdomain1.mysite.com" or "subdomain2.mysite.com" it will be counted as internal.