Mixpanel

Manual integration

Smartlook can be easily integrated into Mixpanel using IntegrationListener:

Smartlook.registerIntegrationListener({
  onSessionReady: function (dashboardSessionUrl) {
    mixpanel.track(
      "Smartlook session URL",
      {"session_url": dashboardSessionUrl});
    );
  },
  onVisitorReady: 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.