Manual integration
Smartlook can be easily integrated into Mixpanel using IntegrationListener
:
smartlook.registerIntegrationListener(new SmartlookIntegrationListener(
function (dashboardSessionUrl) {
mixpanel.track(
"Smartlook session URL",
{"session_url": dashboardSessionUrl})
},
function (dashboardVisitorUrl) {
mixpanel.people.set({ "smartlook_visitor_url": dashboardVisitorUrl })
// identify must be called along with every instance of people.set
mixpanel.identify("sample_identifier")
}
));
Full Mixpanel documentation with examples can be found on the official website.