initiateTracking

Attaches (or replaces) a Mobile Tracking adapter to this account. No network calls are made until the first event is fired. May be called any time after construction.

Requires a Context to have been supplied to the constructor (it backs the persistent device cookie). Calling this without a Context throws IllegalStateException.

Parameters

config

the session metadata applied to the tracker.

Throws

when no Context was supplied to the constructor.