track().applicationUpdate

The track().applicationUpdate() method records an app update. The event is sent once per app version.

Syntax

TrackHelper.track()
  .applicationUpdate()
  .with(tracker)
TrackHelper.track()
  .applicationUpdate()
  .with(getTracker());

Examples

To track an update of your app:

val tracker: Tracker = (application as PiwikApplication).tracker
TrackHelper.track()
  .applicationUpdate()
  .with(tracker)
Tracker tracker = ((PiwikApplication) getApplication()).getTracker();
TrackHelper.track()
  .applicationUpdate()
  .with(tracker);

Notes

  • The event is sent once per app version. After the app is updated, the event is sent again.

Related methods