Skip to content

Cookies, localStorage and sessionStorage

Giosg stores information in cookies and in browser's localStorage. These are are persistent information like the visitor's id or the state of the chat window.

Giosg use sessionStorage to store temporary variables. These include things like which rules have matched during this session.

Cookies

These values are stored on the customer's site in browser's cookies if available. Domain for these cookies is always the domain that giosg script is installed to.

Note that the {$COMPANY_ID} placeholders will be replaced with the ID of your organization's giosg account. You may check your "Account ID" from the settings: Company → Account information.

Further information regarding cookies and their purpose can also be found from Giosg Transparency & Consent (TC) API documentation.

List of cookies

Cookie name Description Life time
giosg_chat_id_{$COMPANY_ID} Organization specific visitor identifier 1 year
giosg_sgid_{$COMPANY_ID} Personal, secret identifier of the visitor. This cookie is set only for those visitors for whom we cannot store this information to *.giosg.com domain in an iframe because of blocked third-party cookies. 1 year
Cookie name Content/meaning of the stored information? Reason why the information is stored?
giosg_chat_id_{$COMPANY_ID} Signed random string identifying visitor inside customers account This cookie is used to distinguish unique users and allow chat to continue from page to page.
giosg_sgid_{$COMPANY_ID} Signed random secret string Personal, secret identifier of the visitor. This ID is only known by the end users browser and is only sent to Giosg for validation and generation of giosg_chat_id_{$COMPANY_ID} when moving between domains. This secret prevents any other person to impersonate the visitor or access their private data.

LocalStorage

These values are stored on the customer's site in browser's localStorage if available

giosg_win_state_{$COMPANY_ID}

  • Used for keeping track of visitor chat window status

giosgWindowOpen_{$DOMAIN_ID}

  • Used for keeping track if visitor opened the chat window.

giosgActiveRoom_{$DOMAIN_ID}

  • Used for keeping track which room the visitor was when they opened chat dialog

activeCallRoom_{$DOMAIN_ID}

  • Used for keeping track of room that contains the active call.

giosg_${DOMAIN_ID}_cart

  • Contains the total price of the basket for rules

giosg_${DOMAIN_ID}_cart_products

  • Contains json encoded products in cart

GIOSG_INTERACTION_COOLDOWN_${id}

  • Used when showing interactions to visitors to control state of interaction within session.

reporting_show_view_seq_num_*

  • Used for keeping track of the order where interaction views are shown. This will be used for reporting.

SessionStorage

These values are stored on the customer's site in browser's sessionStorage if available

giosg_operator_state_cache

  • Used for keeping track of operator online statuses status between page loads.

giosg_rmatch_d${ROOM_ID}_r${RULE_ID}

  • Used by giosg rules.
  • Each matched rule on in the same room creates a record in sessionStorage if rules are set to "match only once on page" or "match only once in session".

giosgIsAutosuggest_{$DOMAIN_ID}

  • Used to only send autosuggest once per session.

GIOSG_INTERACTION_DATA_${id}

  • Used in interaction designer to keep interaction state during visitor session.