-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Base Macros #62
Add Base Macros #62
Conversation
c29ec39
to
aa8d236
Compare
3c0e407
to
e7518c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! Literally just 2 questions!
models/media_ad_views/scratch/snowplow_media_player_media_ad_views_this_run.sql
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! Literally just 2 questions!
b2ed7ff
to
7d7af57
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks amazing, great work!
d28bcf9
to
82daa3c
Compare
bcd6e3a
into
release/snowplow-media-player/0.7.0
Description & motivation
Update the package to use the latest snowplow utils base macros. This enables you to specify your session and user identifiers used in the incremental building of the models.
Changes to the default session identifier
We’ve changed the default session identifier from being the
domain_sessionid
, to now be the media session id (or page/screen view id if the media session entity is not set).Previously if a user paused some content and switched to another tab for an hour or so before coming back to finish watching the content, it could mean these subsequent media events would be disregarded. This was because the original domain_sessionid would have expired and the stray media events attached to the new domain_sessionid would be removed in the models deduplication steps (similar to the stray page pings). In this scenario the media session id and page_view_id remain the same enabling us to model the complete media play.
We have added a new field to the base and ad views tables,
domain_sessionid_array
, which shows all thedomain_sessionid
values attached to a media play, thus keeping the ability to perform session level analysis.We have also added the option to passthrough fields to the base and ad views models.
Checklist