Utility methods

Install referrer

When an application is installed from the Google Play Store, Smartlook SDK automatically tracks install referrer.

A custom referrer can also be set by using the following:

Smartlook.setReferrer(referrer: String, source: String)
Smartlook.setReferrer(String referrer, String source);

📘

Referrer value and source of installation are stored per visitor and can be viewed in the Smartlook Dashboard.

Dashboard session URL

A URL leading to the Smartlook Dashboard for a currently recorded session can be obtained like this:

Smartlook.getDashboardSessionUrl(withCurrentTimestamp: Boolean)
Smartlook.getDashboardSessionUrl(boolean withCurrentTimestamp);

If withCurrentTimestamp is set to true link it will include information about the current recording timestamp. This will ensure that the player will start playing the session at the moment when getDashboardSessionUrl was called.

🚧

This URL can be opened only by someone who has access to your dashboard. This is not a public shareable link.

Dashboard visitor URL

AURL leading to the Smartlook Dashboard for a currently recorded visitor can be obtained like this:

Smartlook.getDashboardVisitorUrl()
Smartlook.getDashboardVisitorUrl();

🚧

This URL can be opened only by someone who has access to your dashboard. This is not a public shareable link.