Locally stored data

Many Digital features rely on storing information on the client, for example the LAST_INVITATION_VIEW timestamp is updated each time an intercept is presented. By default, this information is stored in the client's localStorage and a back-up is stored as a cookie. Generally this information is referred to as cookies. All of Digital's cookies are:

  • technically considered First-Party cookies as they exist only in the context of the customer’s domain
  • of type “Performance and analytics”
  • expired after 1 year, with the exception of md_isSurveySubmittedInSession, which even though it has an expiration date of a year, is cleared on every session start

Cookie Name

Cookie Type (Medallia's definition)

Description and Management Settings (if applicable)

Size (In bytes)

kampyleUserSessionsCount

Performance and analytics

Tracks number of sessions user has on the website

25

DECLINED_DATE

Performance and analytics

Timestamp indicating when an intercept was last declined / survey was last closed

26

SUBMITTED_DATE

Performance and analytics

Timestamp indicating when a survey was last submitted

27

kampyleUserSession

Performance and analytics

Timestamp indicating when the user has started their session

25

kampyleSessionPageCounter

Performance and analytics

Tracks the number of pages the user has opened in the session

26

kampyleInvitePresented

Performance and analytics

Flag indicating whether an intercept was presented in the session

26

kampylePageLoadedTimestamp

Performance and analytics

Timestamp indicating when the page was loaded. Used for time on page targeting

39

kampyleUserPercentile

Performance and analytics

Number between 0-100 used for percentage of users being targeted

38

LAST_INVITATION_VIEW

Performance and analytics

Timestamp for when the last intercept was presented

33

kampyle_userid

Performance and analytics

UUID for identifying a user

53

cd_user_id

Performance and analytics

Cooladata user ID

70

md_isSurveySubmittedInSession

Performance and analytics

true if any survey was submitted in session, otherwise false

33

mdigital_alternative_uuid

Performance and analytics

Alternative feedback UUID identifier, relevant only to customers in AWS EU data center.

64

mdLogger

Performance and analytics

When this exists, it instructs the Medallia code to add debug logs to the browser’s console.

Default value: False.

Setting the cookie to true is done by explicitly calling the KAMPYLE_ONSITE_SDK.startLogger(); JavaScript function.

Setting the cookie to false is done by explicitly calling the KAMPYLE_ONSITE_SDK.stopLogger(); JavaScript function.

13

Local browser settings

The cookies listed in this section are required for the correct functioning of Digital. In the event of the cookies not being available, for example because the respondee's browser is running in a mode such as incognito that disables local storage, the following functionality is lost:

  • surveys that use an intercept trigger or an embedded trigger cannot be targeted
  • targeting features that rely on local storage, such as Invite % of Visitors or Time in session greater than session based options, cannot function

Surveys that use an always-on trigger can be targeted in this situation. It is strongly recommended that the respondee's browser is configured for default local storage.