snowplow / enrich

Snowplow Enrichment jobs and library
https://snowplowanalytics.com
Other
21 stars 38 forks source link

Common: geo-fencing enrichment #116

Open chuwy opened 4 years ago

chuwy commented 4 years ago

Hi @alexanderdean and Snowplow gang!

We are flirting with the idea of creating a geo-fencing enrichment and wanted to the gauge interest/usefulness of the idea. The main application for this would be for tracking mobile devices and it would be most useful in the streaming option (but depending on the use case, batch will have its uses).

The concept is pretty straight forward, when an event is examined (or when an event comes in), geo-locate the event (into lat/long) if possible (via geo-location or IP lookup), and if the lat/long is available, search it against a set of boundaries and/or point proximities. The natural use of this is that you can flag a user going into a zone of interest, the time spent in the zone, and when the user leaves the zone. With these flags, we have several use cases where they are useful for understanding user behavior. The biggest piece that's missing currently is the service that stores the boundaries/point proximities of interest and allows searches against them.

We currently have a pretty good plan on a REST API that allows the storage of the boundaries of interest and the search feature that is needed (and it's scalable to boot(!)), but we want to hear your thoughts (and whoever else that uses Snowplow(!)) about the usefulness of this enrichment before we go down the rabbit hole. Any comments/opinions would be appreciated!

chuwy commented 4 years ago

Migrated from https://github.com/snowplow/snowplow/issues/2917 (comments are auto-generated)