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