Skip to content

Unable to set distinct id #138

@johannes-huther

Description

@johannes-huther

I'm unable to find a way to set the distinct id of a session using the umIdentify composable. Is this possible?

Description of distinct-ids: https://umami.is/docs/distinct-ids

Usually umami offers three signatures for the identify function (see https://umami.is/docs/tracker-functions):

// Assign ID to current session
umami.identify(unique_id: string);

// Session data
umami.identify(unique_id: string, data: object);

// Session data without ID
umami.identify(data: object);

I'm not sure if I'm missing something and setting the id is very possible with this package, but I can't find a way to do so, as the umIdentify composable seems to take in a object/ record only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions