47
In Ecommerce Changing the Face of Open Identity Jonathan LeBlanc Developer Evangelist Twitter: @jcleblanc E-Mail: [email protected] Github: github.com/jcleblanc

2012 POSSCON Changing the Face of Identity in Ecommerce

Embed Size (px)

DESCRIPTION

March 2012 presentation on open source Ecommerce identity for POSSCON (Columbia, SC). The audio recording from this session is available at http://archive.org/details/ChangingTheFaceOfOpenIdentityInEcommercePosscon2012

Citation preview

Page 1: 2012 POSSCON Changing the Face of Identity in Ecommerce

In Ecommerce

Changing the Face of Open Identity

Jonathan LeBlancDeveloper EvangelistTwitter: @jcleblancE-Mail: [email protected]: github.com/jcleblanc

Page 2: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

The Gist of This Talk

Page 3: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

The Gist of This Talk: PayPal Access

Page 4: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

The Gist of This Talk: PayPal Access

Page 5: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

The Gist of This Talk: PayPal Access

Page 6: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What is user identity?

How can you use grouping to personalize?

How do you pick the right identity tool?

How does PayPal Access help?

What We’re Going to Cover

Page 7: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What is user identity?

How can you use grouping to personalize?

How do you pick the right identity tool?

How does PayPal Access help?

What We’re Going to Cover

Page 8: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: It’s Not Facebook

Page 9: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: It’s Not BrowserID

Page 10: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: It’s Not Even PayPal

Page 11: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: Login is Just the Tool

Page 12: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: It’s Human Behavior

Page 13: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Are you tracking what a user is viewing?

Are you categorizing your users?

Are you incentivizing your users?

Identity: Statistics From User Browsing Data

Page 14: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: The Different Identity Models

Anonymous Identity

Page 15: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: The Different Identity Models

Perceived Identity

Page 16: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity: The Different Identity Models

True (Verified) Identity

Page 17: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What Have We Learned Thus Far?

Identity is more than just a login

Page 18: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What is user identity?

How can you use grouping to personalize?

How do you pick the right identity tool?

How does PayPal Access help?

What We’re Going to Cover

Page 19: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Grouping: Users Get Confused

Page 20: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Grouping: Find People With Like Interests

Page 21: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Grouping: Recommended Products

Page 22: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What Have We Learned Thus Far?

Identity is more than just a login

Grouping provides insight into users

Page 23: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What is user identity?

How can you use grouping to personalize?

How do you pick the right identity tool?

How does PayPal Access help?

What We’re Going to Cover

Page 24: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity Tools: Proprietary or Open?

23 % of customers abandoned carts when asked to register. (Forrester)

45 % left a site when they couldn’t remember their password. (Blue Inc)

Page 25: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity Tools: It’s Simpler Than You Think

What kind of raw user data do you need?

In what ways do you want to personalize your product with identity?

Do you sell anything?

Page 26: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity Tools: Selling Goods

Page 27: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity Tools: Selling Goods

Graph source provided by Digitas (http://rww.readwriteweb.netdna-cdn.com/teaser.jpg)

Page 28: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity Tools: Raw User Data

{ "addresses":[{ "state":"CA”, "street1":"1339 moonlight way”, "city":"New York", "zip":"92345” }], "emails”:["[email protected]"], "firstName":"John", "lastName":"Smith", "telephoneNumber":"2123935554”}

Page 29: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Identity Tools: Personalization

Page 30: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What Have We Learned Thus Far?

Identity is more than just a login

Grouping provides insight into users

The right tool should work for your needs

Page 31: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

What is user identity?

How can you use grouping to personalize?

How do you pick the right identity tool?

How does PayPal Access help?

What We’re Going to Cover

Page 32: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

PayPal Access: The Core Principals

Identity is more than just a login

Grouping provides insight into users

The right tool should work for your needs

Page 33: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

• Create an application at devportal.x.com.

• Forward the user to PayPal to authenticate.

• Exchange the response code for an access token.

• Use the access token to collect user data.

PayPal Access: Implementation Example

Page 34: 2012 POSSCON Changing the Face of Identity in Ecommerce

PayPal Access: The Common Code

<?phpdefine('KEY', 'YOUR APPLICATION ID');define('SECRET', 'YOUR APPLICATION SECRET');

define('CALLBACK_URL', 'YOUR CALLBACK PATH - TO COMPLETE.PHP');define('AUTH_ENDPOINT', 'https://identity.x.com/xidentity/resources/authorize');define('TOKEN_ENDPOINT', 'https://identity.x.com/xidentity/oauthtokenservice');define('USER_ENDPOINT', 'https://identity.x.com/xidentity/resources/profile/me');

function run_curl($url, $method = 'GET', $postvals = null){ ... }?>

Page 35: 2012 POSSCON Changing the Face of Identity in Ecommerce

PayPal Access: Forwarding for Login

<?phprequire_once "common.php";

$auth_url = sprintf( "%s?scope=%s&response_type=code&redirect_uri=%s&client_id=%s", AUTHORIZATION_ENDPOINT, urlencode("https://identity.x.com/xidentity/resources/profile/me"), urlencode(CALLBACK_URL), KEY);

//forward user to PayPal auth pageheader("Location: $auth_url");?>

Page 36: 2012 POSSCON Changing the Face of Identity in Ecommerce

PayPal Access: Obtaining the Access Token

<?phprequire_once "common.php";

//capture code from auth$code = $_GET["code"];

//construct POST object for access token fetch request$postvals = sprintf("client_id=%s&client_secret=%s&grant_type=authorization_code&code=%s&redirect_uri=%s", KEY, SECRET, $code, urlencode(CALLBACK_URL));

//get JSON access token object$token = json_decode(run_curl(ACCESS_TOKEN_ENDPOINT, 'POST', $postvals));

Page 37: 2012 POSSCON Changing the Face of Identity in Ecommerce

PayPal Access: Using the Access Token

//construct URI to fetch profile information for current user$profile_url = sprintf("%s?oauth_token=%s", PROFILE_ENDPOINT, $token->access_token);

//fetch profile of current user$profile = run_curl($profile_url);

var_dump($profile);?>

Page 38: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Verified AccountLanguageFirst NameLast NameFull NameEmails

PayPal Access: The Raw Data

AddressesTelephone NumberDate of BirthTime zoneGender

Page 39: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

PayPal Access: Using the Raw Data

Page 40: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

PayPal Access: Using the Raw Data

Page 41: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

PayPal Access: The Data Sources

TransactionRecency

TransactionFrequency

Activity Class

Average Spent

Page 42: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Seamless Checkout Simplification

User is already known – no login needed.

Simplified checkout with a single review step.

Page 43: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Extending Identity with Recommendations

Recommended Products

SimilarProducts

Page 44: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Group Dynamics with Prospect Scores

Page 45: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

In The End…

Data should help, not hinder

Identity should help extend your business

Page 46: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://www.x.com http://slidesha.re/posscon_identity

Looking for Partners

Early Access to alpha release products

Direct support from evangelism & engineering

Page 47: 2012 POSSCON Changing the Face of Identity in Ecommerce

http://slidesha.re/posscon_identity

Thanks For Joining Me!

Jonathan LeBlancDeveloper EvangelistTwitter: @jcleblancE-Mail: [email protected]: github.com/jcleblanc