Navigation Menu

Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

03. E Visitor Lifetime Value

Hadi Tavakoli edited this page Oct 16, 2018 · 2 revisions

The lifetime value allows you to measure and target on a lifetime value for each Android user. The value can be used to store lifetime purchases, ad views, video completes, social shares, photo uploads, and so on.

Each time you send in a value with trackLifetimeValueIncrease, the value is added to the existing value. Lifetime value is stored on device and can be retrieved at any time by calling ADBMobile.config.lifetimeValue.

ADBMobile.analytics.trackLifetimeValueIncrease(5.0, null);

Send Additional Data

In addition to the lifetime value, you can also send additional context data with each track action call:

var ctx:ContextData = new ContextData();
ctx.put("myapp.ImageLiked", imageName);

ADBMobile.analytics.trackLifetimeValueIncrease(5.0, ctx);

Context data values must be mapped to custom variables in Adobe Mobile services:

lifetimeValue