Manual integration
Smartlook can be easily integrated into Amplitude using IntegrationListener
:
smartlook.registerIntegrationListener(new SmartlookIntegrationListener(
function (dashboardSessionUrl) {
amplitudeClient.logEvent(
"Smartlook session URL",
{"session_url": dashboardSessionUrl})
},
function (dashboardVisitorUrl) {
var identify = new amplitude.Identify().set("smartlook_visitor_url", dashboardVisitorUrl)
amplitude.identify(identify)
}
));
Full Amplitude documentation with examples can be found on the official website.