how location and context changes everything for mobile apps

36
* Confidential * How location and context changes everything for mobile apps by Ben Standefer

Upload: aguynamedben

Post on 15-May-2015

300 views

Category:

Technology


0 download

DESCRIPTION

By Ben StandeferChicago Mobile MeetupJune 28, 2012

TRANSCRIPT

Page 1: How Location and Context Changes Everything for Mobile Apps

* Confidential *

How location and context changes everything for mobile apps

by Ben Standefer

Page 2: How Location and Context Changes Everything for Mobile Apps

About Me

Ben Standefer• @aguynamedben

• Back-end Engineer/Ops -> Product Manager

• Data, relevance, and consumer decisions

Startups!• SimpleGeo (location infrastructure)

• Coremetrics (retail web analytics)

• Eventbrite (online ticketing)

• FantasyBook (fantasy sports)

• Digg (social news curation)

Page 3: How Location and Context Changes Everything for Mobile Apps

1 billion “Mobile” consumers

Page 4: How Location and Context Changes Everything for Mobile Apps

Apps offer huge opportunities

Time spent in apps per day

Number downloaded per device

Page 5: How Location and Context Changes Everything for Mobile Apps

But APPathy is a real problem

Average lifespan of an app

Page 6: How Location and Context Changes Everything for Mobile Apps

App developers tell us...

“We need app functionality to keep users engaged over time.”

“We need a way to keep customers remembering our app.”

Page 7: How Location and Context Changes Everything for Mobile Apps

Real-time Mobile EngagementPowering customer engagement any time, anywhere

Page 8: How Location and Context Changes Everything for Mobile Apps

A Few Of Our Customers

25B Messages Sent

50K Applications

500M App Downloads

Page 9: How Location and Context Changes Everything for Mobile Apps

Complexity Creates Scaling Difficulties- Compatibility with many platforms & devices- Push is the foundation for mobile marketing- Data, Scalability, Location & Context

Push messaging is complex

Consumers

Brands

Platforms

Urban Airship:- Connects all platforms and devices- Rich Push & Location- Massive Scalability- Ease of Use - provides one easy interface- Any network, Cellular, Wifi

Cellular Wifi Fixed Line

Page 10: How Location and Context Changes Everything for Mobile Apps

Basic Push

•  Easy  Integra,on  -­‐  bundled  libraries  adds  messaging  to  your  app  quickly•  Scalable  Pla4orm  -­‐  One  API  communicates  to  all  pla:orms•  Push  Composer  -­‐  Put  the  power  of  push  in  the  hands  of  marketers•  Audience  Targe,ng  -­‐  target  and  personalize  the  message•  Advanced  Repor,ng  -­‐  Get  relevant  insights  to  improve  and  opAmize

Page 11: How Location and Context Changes Everything for Mobile Apps

Rich Push: Create Immersive Experiences

•Call  to  Ac,on  -­‐  Invite  users  to  take  acAon  in  the  app•Persistent  Inbox  -­‐  Users  won’t  miss  your  messages  •Stylish  Experience  -­‐  create  branded  experiences

Page 12: How Location and Context Changes Everything for Mobile Apps

Powerful tools for marketers

Push Composer Reports

Measure:• Pushes• App  Opens• Time  In  App• Opt-­‐in/Opt-­‐out

Page 13: How Location and Context Changes Everything for Mobile Apps

Push Composer

See a preview of what the user will see as you draft

your Push messages

Page 14: How Location and Context Changes Everything for Mobile Apps

Measure Success With Rich Reporting

Metrics: App opens, Time in app, Pushes to app

User view across Push, Rich Push, In App Purchase, and Subscriptions

· Download Rate· App Open Rate· Time In App· App Usage Statistics

Page 15: How Location and Context Changes Everything for Mobile Apps

Driving Critical Business Metrics

• 20% increase in total mobile orders

• 540% increase in daily app opens

• 3X faster response time than email

• 30% increase in social sharing(on Facebook & Twitter)

Page 16: How Location and Context Changes Everything for Mobile Apps

Introducing Segments

Precision Audience Targeting{LocationHistoryPreferencesBehavior

Page 17: How Location and Context Changes Everything for Mobile Apps

Location and Context Targeting

Send a push notification based on location, history, preferences, and behavior

Target specific locations:• Stadiums• Parks• Airports• Beaches• Store locations• Customer/user data

Create custom targeting zones:• City, County, or State/Province• Zip, Neighborhood, DMA• Congressional, School, and Voting Districts• Census Tract• Country• Time Zone

Page 18: How Location and Context Changes Everything for Mobile Apps

“All noise is waste. So cultivate quietness in your speech, in your thoughts, in your emotions. Speak

habitually low. Wait for attention and then you low words will be charged with dynamite.”

-Elbert Hubbard

Page 19: How Location and Context Changes Everything for Mobile Apps

Don’t mess this up!

Page 20: How Location and Context Changes Everything for Mobile Apps

The power to “light-up a stadium a second”

• High-throughput messaging - 75K messages per second• Scalable connection handling - millions of concurrent connections• Lightning-fast, low-latency, delivery• Light-weight network footprint - low-bandwidth, low-power usage

Page 21: How Location and Context Changes Everything for Mobile Apps

The power to “light-up a stadium a second”

• High-throughput messaging - 75K messages per second• Scalable connection handling - millions of concurrent connections• Lightning-fast, low-latency, delivery• Light-weight network footprint - low-bandwidth, low-power usage

Page 22: How Location and Context Changes Everything for Mobile Apps

Segments Use Case #1

• A news publisher could increase engagement by sending a call-to-action to a "Big City Finance" segment

• Tagged with 'finance' or 'business' and located in Chicago or New York City

Page 23: How Location and Context Changes Everything for Mobile Apps

Segments Use Case #2

• A retail manager could promote an end-of-season sandals sale to a "Marina Shoe Shoppers" segment

• Tagged with 'product:shoes' and located in ZIP code 94123 within the past 30 days

Page 24: How Location and Context Changes Everything for Mobile Apps

Segments Use Case #3

• A sports app could conduct a cross-promotion with a free beer offer to a "Giants fans attending a home game in person" segment

• Tagged with 'team:SFGiants' and located within AT&T Park tomorrow at 8pm

Page 25: How Location and Context Changes Everything for Mobile Apps

Segments Use Case #4

• An events app could remind potential concert attendees to buy tickets by creating a "Beyonce fans in the Bay Area" segment

• Tagged with 'artist_like:Beyonce' and located in 'San Francisco Metropolitan Area'

Page 26: How Location and Context Changes Everything for Mobile Apps

Segments Use Case #5

• A TV network could introduce a new mystery show that premiers in 1 hour to a "West Coast mystery fans" segment

• Tagged with 'genre:mystery' and located in the PST timezone in the past 3 days

Page 27: How Location and Context Changes Everything for Mobile Apps

Relevant, real-time relationship

team:SFGiants team:SFGiants ANDNOT ticket:20120625

product:shoes ANDflyer:true artist:dangelo

Page 28: How Location and Context Changes Everything for Mobile Apps

Location + Tags = Relevant Context

2.5M location boundaries (geofences) included• Full historical support

“Send to users that were in this area in the past 30 days”

• Tags = Preferences and Behavior• Combine location and tags• A real-time interface to engage mobile users

Page 29: How Location and Context Changes Everything for Mobile Apps

Save and Reuse Segments in Push Composer

Page 30: How Location and Context Changes Everything for Mobile Apps
Page 31: How Location and Context Changes Everything for Mobile Apps

How it works - Mobile SDKs

• Platform dependent• Be smart with battery• Reasonable defaults (significant-change service on iOS)• Ability to use GPS and background collection if necessary• Buffer until another network request is necessary• iOS and Android SDKs ready to go

urbanairship.com/docs

Page 32: How Location and Context Changes Everything for Mobile Apps

How it works - Polygon Boundaries• What is a location?• 2.5M location boundaries (geofences) indexed in an R-tree

• City, County, or State/Province• Zip, Neighborhood, DMA• Congressional, School, and Voting Districts• Census Tract• Country• Time Zone

• Stadiums• Parks• Airports• Beaches• Store locations• Customer/user data

• Redwood converts latitude/longitude to meaningful boundaries

Page 33: How Location and Context Changes Everything for Mobile Apps

How it works - Bucket Indexes

• One a latitude/longitude is converted to ~12 polygon boundaries, we update a ton of indexes in a kd-tree

• Polygon boundary by app by minute• Polygon boundary by app by hour• Polygon boundary by app by day• Polygon boundary by app by week• Polygon boundary by app by month• Polygon boundary by app by year

• kd-tree is like a B-tree, but you split on various dimensions

“Show me all devices with app 1234 that were in seen in Chicago in the past 30 days”

• Fully distributed on Cassandra, can handle high volumes

Page 34: How Location and Context Changes Everything for Mobile Apps

How it works - Querying

• Location and tag back-ends support sorting• “GooeyButterCake” merge-joins results from each back-end• Conditional logic using and, or, and not• Mediator - responsible for producing the final set of device

IDs to deliver the message to• More back-end data sources in the future!

Page 35: How Location and Context Changes Everything for Mobile Apps

The Challenge

Page 36: How Location and Context Changes Everything for Mobile Apps

* Confidential *

Thank you!

Ben Standefer@[email protected]