Consent for Android apps

Apptics provide solutions for setting the tracking state by showing the consent alert to your user.

CopiedAppticsAnalytics.showDefaultDeviceTrackingConsent(activity)

The above method will present a consent pop-up to the user with three options. And Apptics will automatically set the tracking state with respect to the user's choice.

  • Track with PII (USAGE_AND_CRASH_TRACKING_WITH_PII)
  • Track Anonymously (USAGE_AND_CRASH_TRACKING_WITHOUT_PII)
  • Do not Track (NO_TRACKING)

Call the below method in the screen, which is appropriate to show the consent. This method will show a consent pop-up each time it is called.

Ensure to pass the showOnlyOnce boolean second parameter so that the pop-up is presented only once.

CopiedAppticsAnalytics.showReviewTrackingSettingsPopup(activity)

This method will show a pop-up with a single action button. On clicking the 'Review privacy settings' button', Apptics default settings screen will be shown where user can customize their tracking settings.


To open your own settings screen of clicking the action button, use the second parameter of the below function to get the callback on clicking the review button.

CopiedAppticsAnalytics.openSettings(activity)

This method will open the Apptics default tracking settings screen.


There is also an option to gently nudge the user to send a crash, if the app has crashed while the crash tracking is disabled.

Call the below method on an appropriate screen in your app. This will present a pop-up only if the app has crashed in the previous sessions while the crash tracking is disabled. 

Copied AppticsAnalytics.showLastSessionCrashedPopup(activity)