Integration

Smartlook can be easily integrated into Amplitude:

val errorCallback = OnErrorCallback { event ->
    event.addMetadata("Smartlook", "Smartlook session dashboard URL", Smartlook.instance.user.session.urlWithTimestamp)
    true //report this error
}

Bugsnag.addOnError(errorCallback)
OnErrorCallback errorCallback = event -> {
    event.addMetadata("Smartlook", "Smartlook session dashboard URL", Smartlook.getInstance().getUser().getSession().getUrlWithTimestamp());
    return true;
};

Bugsnag.addOnError(errorCallback);
10481048

Full Bugsnag documentation with examples can be found on the official website.