aem apps enhanced: in-app messaging and beacons by john fait

68
AEM Apps Enhanced : In-app Messaging and Beacons John Fait, Adobe AEM Apps R&D

Upload: aem-hub

Post on 11-Jan-2017

516 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

AEM Apps Enhanced : In-app Messaging and Beacons John Fait, Adobe AEM Apps R&D

Page 2: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Me

2

AEM APPS

Page 3: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

3

Page 4: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Attendees

Page 5: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Mobile

AEM Apps

Messaging

Beacons

Q & A

Agenda

Page 6: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Mobile Trends and Challenges

Page 7: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

•  Users are consuming content across web, mobile web and mobile app channels

•  Content consumption via Mobile far outpaces the browser

•  Users expect apps

•  User experience first

•  Beacons and Location Based Services on rise

•  Personalization and contextual targeting

Trends

Mobile is very important &

the opportunity is huge

Page 8: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

•  App Management

•  Multiple platforms

•  Multiple devices

•  Rising costs

•  User Experience

•  Conversion

•  Loyalty

•  Retention

•  Mindshare

Challenges

Mobile development and management

is challenging

Page 9: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

AEM Apps Apps Made Easy

Page 10: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

AEM Apps

Mobile Apps Made Easy!

Enterprise

DPS

AEM Apps

Adobe PhoneGap Enterprise

Adobe Digital Publishing

Solution

Native Apps

Page 11: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Managing Apps

1. Create

2. Manage

3. Measure

4. Optimize

AEM Apps mobile application development

and management platform

Page 12: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Apps Made Easy

Mobile Apps Made Easy! • Reuse AEM authoring and development skillsets

• Reuse assets across channels and devices

• Reduce costs, increase consistency improve brand loyalty

• Easy app updates without AppStore submissions

Page 13: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

13

Page 14: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

NOPE

-[nohp] Adverb, informal

1. No

Examples: Nope, your app is not done

Page 15: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

15

Page 16: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

• Analytics

• Targeting & Personalization

• Messaging

• Beacons and Location Services

Advanced Apps

Page 17: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Messaging

Page 18: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

• Retention

• Engagement

• Conversion

• Notifications

• Offers

• Content promotion

Messaging

Push

In-App Messaging

Page 19: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

High access to users.

App does not have to be running.

• Delivers message to users home screen

• Requires user opt in

• Can bring users back to your app

• Simple to implement, simple to miss-use difficult to do well (or is it?)

Push

Page 20: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

App must be running.

• Does not require opt in

• Richer content, more relevance

• Keep your users engaged and loyal

In-App Messaging

Page 21: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO

In App Messaging

Page 22: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO REVEALED

In App Messaging

Page 23: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 24: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 25: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 26: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 27: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 28: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 29: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Messaging Tips and Tricks

Mobile Apps Made Easy! • Clear message and action to take

• Measure, review and repeat

• Target and Personalize (Audiences)

• Respect the user – Content

– Timing

– Frequency

Page 30: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Push Messaging Tips, Tricks and Benefits

Mobile Apps Made Easy! • Clear message and action to take

• Measure, review and repeat

• Target and Personalize (Audiences)

• Respect the user

– Content

– Timing

– Frequency

• Transparent about type, frequency and benefits of messaging to increase opt in rate

• Deep linking, take user to the content

Page 31: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

In-App Messaging Tips, Tricks and Benefits

Mobile Apps Made Easy! • Clear message and action to take

• Measure, review and repeat

• Target and Personalize (Audiences)

• Respect the user

– Content

– Timing

– Frequency

• Rich and visually appealing

• Can be used to complement push messaging

Page 32: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Beacons

Page 33: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Small wireless device that broadcasts a radio signal at regular intervals

Uses BlueTooth Smart™ Technology (aka BLE)

• Very low power

• Low cost

• Large range

• Supported by all modern smartphones

What are Beacons

Page 34: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

How do Beacons work?

1. Beacons broadcast a radio signal at a regular interval

2. Signal is detected by listening nearby Bluetooth Smart™ enabled device

3. App uses the signal to identify the beacon and optionally take action

Page 35: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

How do Beacons work?

Broadcast

• ProximityUUID, Major, Minor, txPower, other

Detection

• Ranging

• Monitoring

Action

• Triggers : Enter, Exit, Dwell …

• Actions : track, enable/disable, show/hide …

Page 36: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Merge digital and physical worlds

to deliver engaging mobile experiences

• Proximity marketing

• Traffic analysis

• Deliver contextually relevant content and experiences

• Gamification

• Contextual feature enablement and app behaviour modification

• Welcome and parting messages

Beacons Uses

Page 37: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

• Beacons ARE NOT accurate

• Beacons ARE proximity based NOT location based

• Beacons DO NOT track you or collect information about you

• Beacons DO NOT deliver content to you

• Beacons ARE easily discoverable (not just by your app)

• Beacons ARE NOT limited to indoor use

• Phones CAN BE beacons

• Beacons WORK offline

Beacons Myths and Truths

Page 38: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO

Beacons

Page 39: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO REVEALED

Beacon Management : Authoring

Page 40: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 41: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 42: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 43: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 44: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 45: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 46: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO REVEALED

Beacon Management : Development

Page 47: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

config.xml

<plugin name="com.telerik.plugins.nativepagetransitions" spec="https://github.com/Telerik-Verified-Plugins/NativePageTransitions#0.4.0" /> <plugin name="pl.makingwaves.estimotebeacons" spec="https://github.com/evothings/phonegap-estimotebeacons.git" /> <plugin name="cordova-plugin-whitelist" spec="https://github.com/apache/cordova-plugin-whitelist" />

Page 48: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Plugin Usage

// iOS Request permission to access Location Services estimote.beacons.requestAlwaysAuthorization();

// Starting ranging estimote.beacons.startRangingBeaconsInRegion($scope.regionData, onBeaconsRanged, onError); function onBeaconsRanged(beaconInfo) { BeaconManager.trackBeacons(beaconInfo); }

// Stop Ranging estimote.beacons.stopRangingBeaconsInRegion($scope.regionData, onRangingStopped, onError);

Page 49: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Beacon Export into Beacons.json

<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="nt:unstructured" path="/content/phonegap/conference-app/en/home/beacons" targetRootDirectory="www" type="beacons-list"/>

[ { "name": "Coffee Shop Beacon", "description": "Proximity to the adobe ottawa coffee shop", "uuid": "b9407f30-f5f8-466e-aff9-25556b57fe6d", "major": 3437, "minor": 10001, "location": "Coffee Shop", "onEnter": "/content/phonegap/conference-app/en/home/venues/adobe/rooms/coffeeshop" }, … ]

Page 50: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Adobe Mobile Services: tracking

https://marketing.adobe.com/resources/help/en_US/mobile/ios/phonegap_methods.html

Page 51: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Beacon Management : enterBeaconCallback

•  Track closest beacon •  Ignore noise and dropped signals •  Fire callbacks for beaconEnter, beaconExit and beaconUpdate

function enterBeaconCallback(beacon){ console.log("APP BEACON ENTER >>>>> " +BeaconManager.getBeaconAsString(beacon)); … if (beaconJson != null && beaconJson.onEnter != null) { $scope.go(beaconJson.onEnter, beaconJson.name); } … } function exitBeaconCallback(beacon){…} function updateBeaconCallback(beacon, dwellTime){…}

Page 52: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Beacon Management : exitBeaconCallback

•  Track closest beacon •  Ignore noise and dropped signals •  Fire callbacks for beaconEnter, beaconExit and beaconUpdate

function enterBeaconCallback(beacon){…} function exitBeaconCallback(beacon){ console.log("APP BEACON EXIT < < < " + BeaconManager.getBeaconAsString(beacon)); … if (beaconJson != null && beaconJson.onExit != null) { $scope.go(beaconJson.onExit, beaconJson.name); } … } function updateBeaconCallback(beacon, dwellTime){…}

Page 53: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Beacon Management : updateBeaconCallback

•  Track closest beacon •  Ignore noise and dropped signals •  Fire callbacks for beaconEnter, beaconExit and beaconUpdate

function enterBeaconCallback(beacon){…} function exitBeaconCallback(beacon){…} function updateBeaconCallback(beacon, dwellTime){ if(dwellTime%5==0){ console.log("APP BEACON UPDATE > " + BeaconManager.getBeaconAsString(beacon) + ":" + dwellTime); } // DWELL ACTION }

Page 54: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO REVEALED Adobe Mobile Services :

Beacon Path Analysis Traffic Reporting

Page 55: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 56: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO REVEALED Adobe Mobile Services :

Beacons as action triggers

Page 57: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 58: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 59: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

DEMO REVEALED Adobe Mobile Services :

Technology Report

Page 60: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 61: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait
Page 62: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

• Power/Battery

• Size

• Management & Provisioning

• Development and Testing

• Signal Accuracy and Noise – Distance fluctuations

– Proximity variations

– Obstacles

Beacon Challenges

Page 63: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Beacon Challenges : Noise and Inaccuracy

Page 64: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Test. Re-Test. Test Again.

• Test the Plan (triggers, actions, etc)

• Test via Simulation

• Test the reality (real physical environment)

• Test against different devices and OSs

Beacons Tips and Tricks

Page 65: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

• Phone as your beacons

• Dev/test page in your app to fake/trigger beacon events

• Use/configure dwell time, signal ignores distance/proximity setting

• Adjust beacon power

Beacons Tips and Tricks Continued…

Page 66: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Takeaways

2 Messaging to bring

back, retain and convert users

1 AEM Apps for your App

development and management needs

3 Beacons to merge and

reduce the friction between the digital and physical experiences

Page 67: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

Questions

Page 68: AEM Apps Enhanced: In-app Messaging and Beacons by John Fait

John Fait AEM Apps R&D

Thank you