ComponentOne Web API Edition
Services / Visitor API / Working of Visitor API
In This Topic
    Working of Visitor API
    In This Topic

    The Visitir API contains two major parts, the server API and the corresponding JS client. The server API gets IP address of the visitor, finds the visitor's location with detailed information and serves visitor data for each client. And, the corresponding JS client gathers the information provided by the server, stores the session and cookie and provides the information of the visitor on the client side.

    The following image depicts the working of Visitor API.

    Visitor API Working

    With Visitor API, you can get the following information about visitor of your website:

    Data Description
    IP Address The accurate IP address of the visitor on server-side.
    Location Geographical location of the visitor includes latitude/longitude, address, country, city, time-zone, and postcode of the visitor on server-side.
    Language Language and locale of the visitor on the client-side.
    Current Session Session information from the visitor's current visit on the client-side.
    First Session First Session information of the visitor on the client-side.
    Web Browser Information of the browser used by the visitor on client-side.
    Operatig System Operating system of the client.
    Device Visitor's device information, such as type, screen resolution, name, and version on the client-side.