Insider Cookies, Local Storage and Session Storage
  • 18 Apr 2024
  • 7 Minutes to read

    Insider Cookies, Local Storage and Session Storage


      Article Summary

      Cookies are text files with small pieces of data that are communicated between the server and the browser in the header of requests. Local storage or Session storage is a web storage object which allows to save key/value pairs in the browser.

      The Local Storage object stores the data and it does not inherently expire on its own, which means that it persists until it is explicitly cleared by the user or removed programmatically by the website or application that stored the data. Insider's Local Storage objects also have their own expiration time based on their usage. On the other hand, the Session Storage data gets cleared when the page session ends—that is, when the page is closed.

      Insider Cookies Descriptions

      You can see Insider Cookies and their respective details below.

      Cookie NameSample ValueExpiration DurationDescription
      ins-test-cookie1SessionTests if cookies are enabled on the browser that user is currently using.

      Local Storage Descriptions

      You can see Insider Local Storages and their respective details below.

      Local Storage NameSample ValueExpiration DurationDescription
      ins-cart-abandonment-productsJSON Object30 days

      Used when reminding the abandoned cart items to the user with an email.

      ins-cart-product-list

      JSON Object12 hours

      Holds the name, price, size and picture information of the products which users have added to their carts.

      insCustomAttributesJSON Object1 yearHolds the Custom User Attributes defined by you.
      insUserPermissionGranted{state: true}1 yearHolds the state of email permission of the user.
      ins-lead-spuid{“data”:“82300745-53d1
      -421f-91f6-2e43b8e4f641",
      “_expires”:1615302740000}

      10 secs

      insider_id of newly added user in lead collection.
      first-permission-impression
      11 yearStores the status between the user and opt-in permission screen. It helps to show opt-in screen again for users who have not seen it.
      paid-productsJSON Object30 mins

      Holds the ID, name, price, image and URLs of the products that are in the user's cart.

      predictiveDataJSON Object1 day

      Holds the Predictive Segment information of the user.

      prodCatsJSON Object1 dayHolds the categories of the products that users have added to their carts.
      sp-camp-{id}JSON Object14 days, defaultHolds the ID of the campaigns that user encounters on your website.
      sp-info-c-{id}


      spUID1231231231 yearHolds the unique identifier of each user visited your website.
      {id}-countdown-values

      90 daysStores countdown values of the campaign in order to fill the countdown values on next time template is shown.
      ins-instory-emoji-slider-{id}

      7 daysStores InStory emoji data: user's response and average of all collected, in order to fill the emoji data on next time template is shown.
      ins-poll-results-{id}-{storyId}

      No expiration date
      Stores the data of seen stories in order to mark them as seen on next time template is shown.
      ins-side-menu-closed-{id}

      14 days by default

      Toggle (0 or 1) to check if on the side menu template is closed.
      ins-notification-center-log

      1 day at most, deleted on the next load of the API
      Stores the ids of the notifications seen by user, so that the join logs are sent correctly.
      ins-sr-api-checks

      1 dayStores Smart Recommender API based integration check statuses.
      ins-referred-products

      1 dayStores referred products for later sales logs.
      ins-c-events
      1 dayStores the first clicked category name, If on this option is selected in the campaign.
      ins-last-c-event
      1 dayStores the last clicked category name, If on this option is selected in the campaign.
      ins-first-c-event

      1 dayStores the first clicked category name, If on this option is selected in the campaign.
      userLocationJSON Object1 dayHolds the city, country information of the user.
      userIPJSON Object1 dayHolds the encrypted IP information of the user.
      ins-today-sldJSON Object1 dayHolds the daily ID of the user.
      insCoeffDailyJSON Object1 dayHolds the daily statistics of users.
      insCoeffSessionJSON ObjectSessionHolds the session based statistics of users.
      insiderVersusDataJSON Object1 yearHolds the compared products to be visible on Versus campaigns.
      lastVisitTimeJSON Object1 yearHolds the date of the last visit of yours.
      ins-user-segmentsJSON ObjectSessionHolds the segment information of the users.
      current-currencyusd1 dayCurrency of the products which are in the cart of the user. It is updated when the user visits product or cart pages.
      sp-noteTimerJSON ObjectSet on the InOne panelHolds the necessary information related to Coupon Assistant such as the time for the coupon to get closed.
      total-cart-amount991 dayTotal amount in the cart of the user.
      ins-variationCandidateJSON ObjectSessionUsed in the campaigns that are visited with Test Link on Insider's InOne.
      ins-default-attributesObject1 yearSets in-default-attributes on local storage to use for on-site dynamic content replacement for all product types.
      insUserInfoHashArray, timestamps of user visits like [1661958796, 1662034325, 1662111268]
      1 yearUsed to prevent same user event to be used for the same user.
      ins-pageVisitNumber1 yearHolds page visit datas for the relational rules.
      ins-loggedinUser

      1 yearStores information if user logged in. If the user is not logged in, the LS is removed.
      inspector-data{ routeAlias: 'info',
      queryHash: random }
      1 dayStores the product name and query hash for Insider Inspector to work effectively.
      journey-{channel(eventcode)}-join-{ userId: random, journeyId: 1, campaignId: 1, eventCode:
      SMS:1, joinDate: timestamp }
      Dynamic - It is set on journey canvasStores the channel (SMS, Email, etc.) join information.
      insBMStorageData{ 20: { frequency: 1,
      expires: timestamp } }
      Dynamic - It comes from API settings (cookie time)Stores the frequency of Banner Management campaigns.
      journey-joined-camps{ 20: { campaignId: 3,
      expire: timestamp } }
      30 daysStores the list of Architect campaigns user has interacted with. Contains campaign ID and expiry date.
      journey-segments{ 20: true, 30: false }1 hourStores the eligibility status for an Architect journey.
      ucd-cart-collection-hashhashed object
      (it uses fns.hash function)
      30 daysStores hashed cart data to compare old/new card statuses.
      ins-contact-field


      ins-lte-action- + actionIdNumberSessionStores session ID of the user to be used in LTE calculation.
      ins-today-sIdNumber
      Stores the date of user events to be used in the calculation of LTP algorithm.
      ins_sr_out[1, 2, 3]1 dayUsed for validating stock data for Product Recommendations.
      lteThresholdLogSend-id- + this.LTEActionIdNumber
      Checks for LTE success log.
      referred-products[{ id: 1, campId: 3}]1 dayUsed in calculation of click and purchases goals of recommended products.
      on-page-campaign-limit{ value: [1,2,3],
      expires: dateTime }
      AdjustableUsed for validating on page campaign limit for that specific page and prevent campaigns from showing up if the limit is reached.
      ins-ucd-last-browsed-itemsLast browsed products
      as a JSON array.
      7 daysStores the details of latest visited products to be used in email content.
      ins-coupon-session-guard130 minsUsed for preventing Coupon Assistant from popping up multiple times in a time window of 30 minutes.
      c-events[{ cat: <Base64String>,
      count: <Number> }]
      60 daysStores the click information for Category Optimizer.
      thresholdLogSent11 dayPrevents AdAudience product from sending duplicate logs within a period of 24 hours.
      insUserInfoHash{boolean}1 yearPrevents from sending duplicate HIT API user event for a specific user.
      ins-last-order<Number|String>30 minsStores the ID of latest purchased product.
      unificationUserDataHashNumber1 yearStores the hashed copy of unification information for a user.
      ins-sourceUrlwww.yourwebsite.com30 minsStores the source url information of the user.
      ins-wp-sw-version{"data":"<LANG>","_expires":<TIMESTAMP>}
      365 daysVersion information for Web Push Service Worker user side update.
      ins-current-currency{"data":"<LANG>","_expires":<TIMESTAMP>}1 dayStores your current currency information.
      draft-mode-api-initNumberForeverEnables the draft API init Codes to run if set from extension.
      draft-mode-free-jsNumberForeverEnables the draft free JS codes to run if set from extension.
      userpaidsJSON Object90 daysStores the information of purchased products in after payment page.
      ltp-resultBoolean1 dayStores user's LTP segment status.
      ltp-result-request-sentBoolean15 secondsIt is a flag to not send another request to predictive if already sent.
      page-based-time{products: 15, mybrand: 12}1 yearStores the time the user spends on the page specified in the rule.
      ins-page-based-time{mybrand: 15, yourbrand: 12};1 yearStores the time the user spends on the page specified in the rule.
      sp-camp-{id}-max-wait-durationTrueCampaign DependentChecks whether the specific campaign exceeded wait duration within the expiry date of the campaign.
      ins-zEncoded Data1 dayIncludes authentication keys for campaigns to receive coupon codes.
      ins-contact-field{boolean}1 dayStores the contact value of the user according to some conditions, and keeps this value until it is changed for some conditions.
      ins-wp-storageJSON Object1 yearWeb Push storage data
      ins-unified-by


      ins-sms-{id}JSON Object14 days, defaultHolds the ID of the SMS campaign that user encounters on your website.
      unification-remigrate-keyString1 yearA unique key for the unification migration (Insider sets a unique key when required to reunify all users specifically for the partner, it prevents from unification again and again).
      ins-wp-silent-permission-deniedBoolean365 daysWeb push product, logging information for silent permission denied users
      ins-wp-active-tabRandom String1 dayUsed for the Optional Exit Intent feature of Trigger Web Push. Stores active tab random value in this storage.
      {campaignId}-countdown-values{ minutes: string, hours: string, seconds: string, days: string }90 daysHolds the remaining time information of templates which have countdown on it.
      ins-wa{"userId":"xxx",
      "phoneNumber":"+905xxxx",
      "isOptedIn":true,
      "language":"en_US"}
      1 dayHolds the information of WhatsApp opt-in.
      ins-wa-{campaignId}{"productList":[],
      "isMessageSent":true,
      "isMessageReset":false,
      "sentTimeExpiration":
      1660662984000,
      "message":{"status":true}}
      1 dayHolds the information of sales log of WhatsApp campaigns.
      ins-sms-{campaignId}{"productList":[],"message":{"status":true}}1 dayHolds the information of sales log of SMS campaigns.
      ins-wp-tokentoken60 days. Can be changed on InOne panel*.Web Push Token of the user.
      ins-wp-payload-complete"true"60 days. Can be changed on InOne panel*.Used for checking if user has token and Service Worker migration required.
      ins-wp-request-sent"true"60 days. Can be changed on InOne panel*.Collects opt-in log according to its existence.
      ins-wp-token-create-dateepoch date number
      60 days. Can be changed on InOne panel*.Creation date of Web Push Token.
      ins-wp-native-permission-impressionTRUE1 yearStores the status between the user and native opt-in permission screen. It helps to show opt-in screen again for the users who didn't see it.
      ins-wp-migrated-sdk%2Finsider-sw-sdk.js60 days. Can be changed on InOne panel*.Stores already registered Service Worker SDK path.
      first-permission-impression
      11 year, by defaultStores the status between the user and opt-in permission screen. It helps to show first step opt-in screen again after expiration.
      ins-ws-t
      Any string1 dayChecks the validity of the Info campaigns’  for Skeleton.
      ins-ws-t-c
      Any boolean1 dayChecks the validity of the Custom campaigns’  for Skeleton.
      ins-skeleton-id
      Number30 minsChecks user ID opening the Skeleton.
      customDataSet-*
      { status: true|false, cookie: * }
      30 daysStores custom segmentation.
      ins-journey-{channel}-join-{campaign_id}

      {

      "data": {

      userId: STRING

      journeyId: NUMBER

      campaignId: NUMBER

      eventCode: STRING

      responseType: STRING

      joinDate: NUMBER

      },

      "_expires": 1669755285000

      }


      It keeps user’s conversion window after click action.
      ins-journey-camp-{campaign_id}

      {

      "data": {

      step1-displayed: BOOLEAN

      viDa: NUMBER

      journeyId: NUMBER

      campaignId: NUMBER

      },

      "_expires": 1669755285000

      }


      It keeps user’s entrance time for each journey to apply eligibility conditions.
      sp-camp-{campaign_id}-max-wait-duration

      {

      "data": true,

      "_expires": 1669755285000

      }


      It keeps max wait duration of each Architect on-site campaign.
      ins-ucd-cart-collection-hash

      {

      "data": STRING,

      "_expires": 1669755285000

      }


      It keeps hashed version of previous request in order to avoid sending same request twice.
      ins-io-wizard-data

      {

      "data": OBJECT,

      "_expires": 1669755285000

      }


      It keeps information about insider_object before opening wizard.
      ins-io-data

      {

      "data": OBJECT,

      "_expires": 1669755285000

      }


      It keeps snapshot of insider_object before api initialization.
      Your title goes here
      *You can change the durations on Web Push Settings in line with your integration type.

      Session Storage Descriptions

      You can see Insider Session Storages and their respective details below.

      Session Storage NameSample ValueExpiration DurationDescription
      ins-session-sourceStringSessionUsed to organize the session-based goal durations under re-eligibility durations.
      ins-landingPagehttps://yourwebsite.comSessionHolds the landing page that user has visited.
      ins-first-page-viewNumberSessionUsed to check if it's the first view during user's session.
      last-c-event<Base64String>1 dayStores the last clicked category for Category Optimizer product.
      first-c-event<Base64String>1 dayStores the first clicked category for Category Optimizer product.
      page-based-time
      {products: 15, abrand: 12}
      1 yearStores the time spent of the user on a given page.
      ins-gaSSId
      00171add-6ba3-aa72-5668-d83f320dccaf_1579247064
      30 mins (Session)
      Tracks Google Analytics users for 30 minute sessions. Similar like GA we set cookies with 30 minute expiration dates and every user gets a new id in every 30 minutes.

      Was this article helpful?

      ESC

      Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses