track().applicationInstall
The track().applicationInstall() method records app installations. The event is sent once per installation, the first time the app is launched.
Syntax
TrackHelper.track()
.applicationInstall()
.with(getTracker());TrackHelper.track()
.applicationInstall()
.with(tracker)Examples
To track app installation:
Tracker tracker = ((PiwikApplication) getApplication()).getTracker();
TrackHelper.track()
.applicationInstall()
.with(tracker);val tracker: Tracker = (application as PiwikApplication).tracker
TrackHelper.track()
.applicationInstall()
.with(tracker)Notes
- The event is sent once per installation. If the app is reinstalled, the event is sent again.
Related methods
Updated 4 days ago