Utilities

Dashboard session URL

Pre API 2.0

final String? sessionURL = Smartlook.getDashboardSessionUrl(false);
final String? sessionURLWithTimestamp = Smartlook.getDashboardSessionUrl(true);

API 2.0

final String? sessionURL = Smartlook.instance.user.session.getUrl();
final String? sessionURLWithTimestamp = Smartlook.instance.user.session.getUrlWithTimeStamp();

Session URL documentation.

Dashboard visitor URL

Pre API 2.0

final String? visitorURL = Smartlook.getDashboardVisitorUrl();

API 2.0

final String? visitorURL = Smartlook.instance.user.getUrl();

User URL documentation.

Install referrer

Pre API 2.0

Smartlook.setReferrer('sample_referrer','sample_source');

API 2.0

Smartlook.instance.setReferrer('sample_referrer','sample_source')