You are currently viewing the new Beta Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the Beta Editor Docs

segment.client Module

Functions

alias(new_user_id, [previous_id], [options])

Combines two previously unassociated user identities. (previous_id defaults to the current user)


    group(group_id, [traits], [options])

    Identify this user as a member of a group


      identify(user_id, [traits], [options])

      Identify a user to associate subsequent actions to a recognisable user ID and traits


        page([category], [name], [options])

        Register a virtual page change


          track(event, [properties], [options])

          Track an action performed by the current user



            segment.client