fleetio / dbt-segment

Data models for Segment built using dbt (getdbt.com).
https://hub.getdbt.com/dbt-labs/segment/latest/
Apache License 2.0
10 stars 7 forks source link

Add support for screen events #21

Open grumBit opened 3 months ago

grumBit commented 3 months ago

Describe the feature

Currently dbt_segment handles Segment style page events, but not screen events.

We have both web and mobile native versions of our app and would like to use dbt_segment to consume both page and screen events, which would allow us to analyse mbile app user behaviour, and more importantly to compare user behaviour across platforms.

Describe alternatives you've considered

  1. Munge ingested screen events in a way that they can be passed off as page views, but that seems quite ugly.
  2. Rather than using SDK's in mobile native apps that send in screen events, use a HTML endpoints to send in raw page events, but seems even worse than 1.

Please let me know of any other approaches people can think of.

Additional context

I think this should be able to be independent of specific databases. We currently use Snowflake, but I don't expect that should matter.

Similar to DB specifics, I think this should be independent of whose SDK is being used to collect the screen events. We are using Rudderstack's SDK, which is fully compatible with Segment's API and collects the same data.

Who will this benefit?

This will benefit anyone collecting screen events using mobile app SDK's from Segment, Rudderstack, etc. It will be even more beneficial for people who have both web and mobile native apps, which will enable comparisons of user behaviour across platforms.

Are you interested in contributing this feature?

I'm interested in contributing to this feature and would need a hand getting started please.

0adamjones commented 3 months ago

Hey @grumBit! Happy to take a look at this with you if you're interested in contributing! Feel free to drop any questions here, or find me on dbt slack @Adam Jones (same profile pic).