track().sendApplicationDownload
The track().sendApplicationDownload() method records app installations. The event is sent the first time the app is launched, once per installation. If a user installs your app but doesn’t run it, the event is not sent.
Syntax
TrackHelper.track()
.sendApplicationDownload()
.with(getTracker());TrackHelper.track()
.sendApplicationDownload()
.with(tracker)Example
To track the installation of your app:
Tracker tracker = ((PiwikApplication) getApplication()).getTracker();
TrackHelper.track()
.sendApplicationDownload()
.with(tracker);val tracker: Tracker = (application as PiwikApplication).tracker
TrackHelper.track()
.sendApplicationDownload()
.with(tracker)Updated about 2 months ago