// v3
Tracker v3EasyTracker = EasyTracker.getInstance(this);
// Set the screen name on the tracker so that it is used in all hits sent from this screen.
v3EasyTracker.set(Fields.SCREEN_NAME, "Home Screen");
// Send a screenview.
v3EasyTracker.send(MapBuilder
.createAppView()
.build()
);

// v3
Tracker v3Tracker = GoogleAnaytics.getInstance(this).getTracker("UA-XXXX-Y");
// This screen name value will remain set on the tracker and sent with
// hits until it is set to a new value or to null.
v3Tracker.set(Fields.SCREEN_NAME, "Home Screen");
v3Tracker.send(MapBuilder
.createAppView()
.build()
);

The v3 SDK no longer automatically starts a new session when the app opens
(except when using EasyTracker). If you want to preserve this behavior from
a v2 custom implementation, you need to implement your own session control
logic when a user starts the app:

Setting Data on the Tracker in v3

Values may also be set directly on a
Tracker
using the
set()
method.
Values set directly are applied to all subsequent hits from that
Tracker
:

// Values set directly on a tracker apply to all subsequent hits.
tracker.set(Fields.SCREEN_NAME, "Home Screen");
// This screenview hit will include the screen name "Home Screen".
tracker.send(MapBuilder.createAppView().build());
// And so will this event hit.
tracker.send(MapBuilder
.createEvent("UX", "touch", "menuButton", null)
.build()
);

To clear a value that's been set on the Tracker
, set the property
to null:

// Clear the previously-set screen name value.
tracker.set(Fields.SCREEN_NAME, null);
// Now this event hit will not include a screen name value.
tracker.send(MapBuilder
.createEvent("UX", "touch", "menuButton", null)
.build()
);