The ID service API provides the methods, getMarketingCloudVisitorID and getAnalyticsVisitorID, to retrieve the ID values that can then be passed to the server.
Make sure you check for both the Experience Cloud visitor ID and the Analytics visitor ID, and send both IDs (if present) to make sure any data sent is associated with the existing Analytics visitor profile.
AppMeasurement for Java does not currently support the Experience Cloud Identity Service.
Include the Analytics visitor ID (if set) in the
Include the Experience Cloud visitor ID in the
See Supported XML Tags.
The Experience Cloud Identity Service is not currently supported by AppMeasurement for Java.