Top Banner
Identifying Users Across Platforms with a Universal ID April 28, 2015
35

Identifying Users Across Platforms with a Universal ID Webinar Slides

Aug 22, 2015

Download

Data & Analytics

Looker
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Identifying Users Across Platforms with a Universal ID Webinar Slides

Identifying Users Across Platforms with a Universal ID

April 28, 2015

Page 2: Identifying Users Across Platforms with a Universal ID Webinar Slides

Welcome & Webinar Overview

- This webinar will be recorded- We will take questions at the end

Keenan RiceVice President, Alliances

Looker

Page 3: Identifying Users Across Platforms with a Universal ID Webinar Slides

Collect Segment

Analyze Looker

Demo Segment+Looker

Identifying Users Across Platforms with a Universal ID

Page 4: Identifying Users Across Platforms with a Universal ID Webinar Slides

Meet our presenters…

Erin Franz Looker Data Analyst

Will JohnsonSegment Implementation Engineer

Page 5: Identifying Users Across Platforms with a Universal ID Webinar Slides

Track your analytics data for the last time with a single API.

Page 6: Identifying Users Across Platforms with a Universal ID Webinar Slides

Automatically spin up a Redshift instance with your event data.

Page 7: Identifying Users Across Platforms with a Universal ID Webinar Slides

Why is this important?

What questions are you trying to answer?

Identifying Users Across Platforms with a Universal ID

Let’s start with why you’re using analytics in the first place.

Page 8: Identifying Users Across Platforms with a Universal ID Webinar Slides

Aha Moment.

z

Aha moment

What are high value customers doing? How can we attract more?

7x7

Some questions

Page 9: Identifying Users Across Platforms with a Universal ID Webinar Slides

Cross platform analysis

How likely is a mobile user to complete their purchase on web?

Some questions

Page 10: Identifying Users Across Platforms with a Universal ID Webinar Slides

Seamless experience

How do we make sure that when a user starts something on web, they can finish on mobile?

Some questions

Page 11: Identifying Users Across Platforms with a Universal ID Webinar Slides

Before you can answer these questions

Count users once and only once.

Page 12: Identifying Users Across Platforms with a Universal ID Webinar Slides

This is surprisingly difficult.

Page 13: Identifying Users Across Platforms with a Universal ID Webinar Slides

The Answer:

A Universal ID.

Page 14: Identifying Users Across Platforms with a Universal ID Webinar Slides

Collect Segment

Analyze Looker

Demo Segment + Looker

Identifying Users Across Platforms with a Universal ID

Page 15: Identifying Users Across Platforms with a Universal ID Webinar Slides

Choose the most important events to track.

Create a naming convention.

Implement consistent naming across devices.

Collecting Data the Right Way

Page 16: Identifying Users Across Platforms with a Universal ID Webinar Slides

Event Tracking

Analytics.js

iOS

[[SEGAnalytics sharedAnalytics] identify:@"1e810c197e" traits:@{ @"name": @"Bill Lumbergh", @"email": @"[email protected]" }];

analytics.identify('1e810c197e', { name: 'Bill Lumbergh', email: '[email protected]'});

Page 17: Identifying Users Across Platforms with a Universal ID Webinar Slides

Data SchemaData SchemaAnalytics.js iOS

{ "anonymousId": "507f191e810c19729de860ea", "channel": "Javascript", "context": { "ip": 9.9.9.9, "browser": "Mozilla 5.0" }, "messageId": "UID", "projectId": "sjdhv6wim", "receivedAt": "2015-02-23T22:28:55.387Z", "sentAt": "2015-02-23T22:28:55.111Z", "traits": { "name": "Bill Lumbergh", "email": "[email protected]" }, "type": "identify", "userId": "97980cfea0067", "version": "1.1"}

{ "anonymousId": "507f191e810c19729de860ea", "channel": "iOS", "context": { "app": "{...}", "device": "{...}", "network": "{...}" }, "messageId": "UID", "projectId": "sjdhv6wim", "receivedAt": "2015-02-23T22:28:55.387Z", "sentAt": "2015-02-23T22:28:55.111Z", "traits": { "name": "Bill Lumbergh", "email": "[email protected]" }, "type": "identify", "userId": "97980cfea0067", "version": "1.1"}

Page 18: Identifying Users Across Platforms with a Universal ID Webinar Slides

Data SchemaData Schema

anonymous_id user_id name email context.X sent_at received_at

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx507f191e810c197...

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx97980cfea0067

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxBill Lumbergh

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxbill@initech.com

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2015-02-23T22:28...

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx2015-02-23T22:28...

Identifies Table

sort key

Page 19: Identifying Users Across Platforms with a Universal ID Webinar Slides

Data SchemaData Schema

Page 20: Identifying Users Across Platforms with a Universal ID Webinar Slides

One Option for ImplementationOne Option for Implementation

Page 21: Identifying Users Across Platforms with a Universal ID Webinar Slides

Collect Segment

Analyze Looker

Demo Segment + Looker

Identifying Users Across Platforms with a Universal ID

Page 22: Identifying Users Across Platforms with a Universal ID Webinar Slides

Agile data modeling; Transform Data at Query

ETL ELTA single set of

data and definitions Hosted on-premise

or in the cloudAn analytics app server that doesn’t move your

data

A better way to explore complex data

ERIN FRANZLOOKER DATA ANALYST

“We found that we’d add a lot more value back to the organization if we gave it to everyone.”

TODD LEHRDOLLAR SHAVE CLUB

ERIN FRANZLOOKER DATA ANALYST

Page 23: Identifying Users Across Platforms with a Universal ID Webinar Slides

Define periods of user activity to analyze visit metrics

Drill into and visualize results to answer questions

Map disparate user identifiers to track user behavior over time

Universal User ID

Build on sessions in the modeling layer to capture desired analytics

SessionCreation

Custom Modeling

Explore!

Page 24: Identifying Users Across Platforms with a Universal ID Webinar Slides

Why create a Universal Id Mapping ?

Simple & Repeatable• Intuitive & reusable modeling language• Github for collaborative development• Transformation at query (ELT over ETL)

Cross Platform Analytics

Track Users Over Time

Track Users Over a Visit

Consolidate Anonymous Ids and

User Ids

Consolidate Identifiers Across

Many Visits

Consolidate Identifiers Across

Multiple Device Types

Consolidate and Track User Behavior

Page 25: Identifying Users Across Platforms with a Universal ID Webinar Slides

TracksTracking Event Data

PagesPageview Event Data

AliasesTracks User Id Changes

Use Relevant Base Tables to Create a Universal Alias Mapping Table

Anonymous Id (created pre-login) and User Id (created upon login) are recorded when available for each event.

Records Previous Id and a current User Id upon change

Page 26: Identifying Users Across Platforms with a Universal ID Webinar Slides

Create a Universal Id Mapping

Simple & Repeatable• Intuitive & reusable modeling language• Github for collaborative development• Transformation at query (ELT over ETL)

A1 A2 A3

U1

U2

Alias Next Alias

A1 U1

A2 U1

A2 U2

U1 U2

A3 U2

A1 A2 A3

U1

U2

Alias Next Alias

A1 U2

A2 U2

U1 U2

A3 U2

U2 U2

Page 27: Identifying Users Across Platforms with a Universal ID Webinar Slides

First, create the Alias to Next Alias mapping table to obtain all possible mappings.

Page 28: Identifying Users Across Platforms with a Universal ID Webinar Slides

Then map all values to the Universal Alias which will be the most current User Id.

Page 29: Identifying Users Across Platforms with a Universal ID Webinar Slides

Join the Universal Alias Mapping view to the Tracks view in our model file.

Page 30: Identifying Users Across Platforms with a Universal ID Webinar Slides

Collect Segment

Analyze Looker

Demo Segment + Looker

Identifying Users Across Platforms with a Universal ID

Page 31: Identifying Users Across Platforms with a Universal ID Webinar Slides

Demo

Page 32: Identifying Users Across Platforms with a Universal ID Webinar Slides

SessionCreation

Custom Modeling

Define periods of user activity to analyze visit metrics

Map disparate user identifiers to track user behavior over time

Universal User ID

Build on sessions in the modeling layer to capture desired analytics

SessionCreation

Custom Modeling

Using SQL to Define, Measure and Analyze User Sessionshttps://segment.com/blog/using-sql-to-define-measure-and-analyze-user-sessions/

A Guide to Universal User ID Mappinghttps://segment.com/blog/guide-to-universal-user-id-mapping/

Building the Ultimate Funnel with SQLhttps://segment.com/blog/building-ultimate-funnel-sql/

Looker and Segment Resources

Page 33: Identifying Users Across Platforms with a Universal ID Webinar Slides

Q & A

Page 34: Identifying Users Across Platforms with a Universal ID Webinar Slides

Thank you

- This webinar will be posted on looker.com tomorrow.

- Demo Looker at looker.com/demo

- Demo Segment at segment.com/demo

Page 35: Identifying Users Across Platforms with a Universal ID Webinar Slides

Thank you