Mixpanel

Manual integration

Smartlook can be easily integrated into Mixpanel using IntegrationListener:

public class IntegrationListener : SmartlookUnity.IntegrationListener
{
    public override void onSessionReady(string dashboardSessionUrl)
    {
        var props = new Value();
        props["Session url"] = dashboardSessionUrl;

        Mixpanel.Track("Smartlook session URL", props);
    }

    public override void onVisitorReady(string dashboardVisitorUrl)
    {
        // Mixpanel identify: must be called before user profile properties can be set
        Mixpanel.Identify("sample_identifier");

        Mixpanel.People.Set("Smartlook visitor URL", dashboardVisitorUrl);
    }
}

SmartlookUnity.Smartlook.RegisterIntegrationListener(new IntegrationListener());

Full Mixpanel documentation with examples can be found on the official website.