When using the autoActivityTracking function, you cannot exclude some actions from the report, unfortunately. The only way to do this is to turn off automatic activity tracking and manually send a screen view from Activity.onStart ():
tracker.setScreenName("screen name"); tracker.send(new HitBuilders.ScreenViewBuilder().build());
You cannot turn off activity tracking with onStart () since the callback list will be blocked by Android before the callbacks are made. Any change to the list will not affect the list of registered callbacks for this onStart (). Unfortunately, disabling automatic activity tracking from onStart will not work.
djabi source share