chefsfeed presentation to snowplow meetup san francisco, oct 2015

22

Upload: yalisassoon

Post on 09-Jan-2017

4.644 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015
Page 2: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

What is ChefsFeed?

Snowplow is the Solution!

What’s the Problem?

For Real?

Page 3: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

What is ChefsFe

ed?

Page 4: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

CHEFS ARE THE NEW ROCK STARS FOOD IS THE

NEW ROCK & ROLL.

Page 5: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

TRUST THE HAND THAT FEEDS YOU.

Page 6: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

VIDEO PRE-ROLL ONLINE ADS EMAIL & PUSH

MOBILE NATIVE INDUSTRY SOCIAL BRAND SOCIAL

“URBAN”“MILLENIALS”“MOBILE”“INFLUENCERS”“QUALITY”

Page 7: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

What’s the Problem?

Page 8: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Lots of Sources!

Page 9: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Marketing Data• Marketing systems are focused on

conversions• App installed• User registration• Purchase

• Why?• Attribution!• In other words, they want to get credit!

Page 10: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Focus on Conversions

✔ $✔Install

Registration

Purchase

Page 11: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Wrong!

✔ $✔Install

Registration

Purchase

Page 12: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

User Behavior

✔ $✔Fried Chicken Ad

WTF Video

Pizza Restaurant Search

Page 13: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Lots of Data!

✔ $✔Fried Chicken Ad

WTF Video

Pizza Restaurant Search

Billions of events

Millions of events

Page 14: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Snowplow is the

Solution

Page 15: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Lots of Data!

✔ $✔Fried Chicken Ad

WTF Video

Pizza Restaurant Search

Billions of events

Page 16: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Use Case

Page 17: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Snowplow Event Data

• Consistent conversion event types between systems• App.start (structured event)• App.resume (structured event)• Save.dish (com_chefsfeed_dish_saved_1) • Reserve.OT

(com_chefsfeed_open_table_booked_2)• A whole lot of screen.view in between!• Not captured in Fiksu

Page 18: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

User Event Stream

✔ $✔source

screen.view

screen.view

Billions of events

App.start Save.dish Reserve.OT

Page 19: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Mobile_Events Table

selectfk.source_name,

se_action,regexp_substr(regexp_substr(unstruct_event, '/[^/]+/jsonschema[^{]+\\{[^{]+$'), '[^/]+') as unstruct_event_name,app_id,

rank() OVER (partition by apple_idfa, ORDER BY collector_tstamp)from atomic.events ae

left join atomic.com_snowplowanalytics_snowplow_mobile_context_1 mc on ae.event_id=mc.root_id

left join atomic.com_snowplowanalytics_snowplow_screen_view_1 as sv on ae.event_id=sv.root_id

left join data.fiksu fk on fk.ios_advertising_identifier = mc.apple_idfa

Page 20: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Mobile Events by Source

Page 21: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

Tips/Tricks• Persistent Derived Tables are the bomb!• Unstructured events can be tricky to set up

correctly• Miscoding on iOS, shredding fails• json_extract_path_text(unstruct_event,

'data', 'data', 'filter_string') digs out an attribute

• Redshift Python UDF• Implemented Haversine function to geocode

users

Page 22: Chefsfeed presentation to Snowplow Meetup San Francisco, Oct 2015

For Real!