Session and Visitor Handling
    • 1 Minute to read
    • Dark
      Light

    Session and Visitor Handling

    • Dark
      Light

    Article summary

    Since version 3 of the tracking pixel the session handling is completely done on Mapp side. A session is maintained with the help of the ever ID. If this information is not available, the session is recognized by the user agent and the IP address. The ever ID is assigned to a user and is sent with every visit. It is also used internally for session recognition. It is therefore important that the ever ID does not change during a visit. If this is the case or if the ever ID is not transmitted at all, a simplified session recognition is carried out using user agents and IP address.

    The Mapp tracking system distinguishes between first and third-party cookies.

    First-Party Cookies

    With first-party cookies, the ever ID is generated on the client side and stored in the customer domain in the cookie "wt3_eid". This information is then sent with the track request in the URL parameter "eid".

    Name of the cookie

    wt3_eid

    Cookie content

    ;[track ID]|[ever ID]#[last visit]

    Example

    ;111111111111111|2138210064900146323#2138210027300810268

    Cookie path

    /

    Cookie runtime

    6 months

    Examples

    Example request (first call)

    http://track.webtrek
    k.net/111111111111111/wt?p=300,home&eid=2138210064900146323&one=1

    The ever ID can also be transferred in the URL parameter "ceid" (Custom ever ID) if you have your custom ID for visitor recognition.

    http://track.webtrekk.net/111111111111111/wt?p=300,home&ceid=XYZ-232-ABC&one=1

    Parameter

    Description

    one

    1 = New visitor. Therefore, always send this parameter when it is the first request from the customer.

    0 = In all other requests, the parameter must either be sent with the value 0 or you omit the parameter completely.


    Example request (further calls)

    http://track.webtrekk.net/111111111111111/wt?p=300,home&eid=2138210064900146323

    The ever ID can also be transferred in the URL parameter "ceid" (Custom ever ID) if you have your custom ID for visitor recognition.

    http://track.webtrekk.net/111111111111111/wt?p=300,content&ceid=XYZ-232-ABC

    Third-Party Cookies

    The tracking system generates an ever ID during the first visit of a user and stores it in the cookie "wteid_[track ID]".

    Name of the cookie

    wteid_[track ID]

    Cookie content

    [ever ID]

    Example

    4138210064900146323

    Cookie domain

    [track domain]

    Cookie path

    /[track ID]/

    Cookie runtime

    6 months

    Example request

    http://track.webtrekk.net/111111111111111/wt?p=300,home


    Was this article helpful?