Insider Cookies, Local Storage and Session Storage
  • 09 May 2024
  • 8 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 that allows the saving of 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 the 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 daysUsed when reminding the abandoned cart items to the user with an email.
      ins-cart-product-list
      JSON Object12 hoursHolds the name, price, size, and picture information of the products that 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 a newly added user in the lead collection.
      first-permission-impression
      11 yearStores the status between the user and the opt-in permission screen. It helps to show the opt-in screen again for users who have not seen it.
      paid-productsJSON Object30 minsHolds the ID, name, price, image, and URLs of the products that are in the user's cart.
      predictiveDataJSON Object1 dayHolds 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 the user encounters on your website.
      sp-info-c-{id}


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

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

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

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

      14 days by default
      Toggle (0 or 1) to check if 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 the 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 this option is selected in the campaign.
      ins-last-c-event
      1 dayStores the last clicked category name, If this option is selected in the campaign.
      ins-first-c-event

      1 dayStores the first clicked category name, If this option is selected in the campaign.
      userLocationJSON Object1 dayHolds the city, and 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 expire.
      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 the same user event from being used for the same user.
      ins-pageVisitNumber1 yearHolds page visit data for the relational rules.
      ins-loggedinUser

      1 yearStores information if the 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 the user has interacted with. Contains the 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 the calculation of click and purchase 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 preventing 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 the 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 products from sending duplicate logs within a period of 24 hours.
      insUserInfoHash{boolean}1 yearPrevents from sending duplicate HIT API user events for a specific user.
      ins-last-order<Number|String>30 minsStores the ID of the 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 the extension.
      draft-mode-free-jsNumberForeverEnables the draft free JS codes to run if set from the extension.
      userpaidsJSON Object90 daysStores the information of purchased products on the 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 the 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 the 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 double unification).
      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 that have a 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 the purchases log of WhatsApp campaigns.
      ins-sms-{campaignId}{"productList":[],"message":{"status":true}}1 dayHolds the information of the purchases 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 the user has a 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 their 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 the native opt-in permission screen. It helps to show the 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 the opt-in permission screen. It helps to show the 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 the 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 the user’s conversion window after the click action.
      ins-journey-camp-{campaign_id}
      { "data": { step1-displayed: BOOLEAN viDa: NUMBER journeyId: NUMBER campaignId: NUMBER }, "_expires": 1669755285000 }

      It keeps the user’s entrance time for each journey to apply eligibility conditions.
      sp-camp-{campaign_id}-max-wait-duration
      { "data": true, "_expires": 1669755285000 }

      It keeps the max wait duration of each Architect on-site campaign.
      ins-ucd-cart-collection-hash
      { "data": STRING, "_expires": 1669755285000}

      It keeps a hashed version of the previous request in order to avoid sending the same request twice.
      ins-io-wizard-data
      { "data": OBJECT, "_expires": 1669755285000}

      It keeps the information about insider_object before opening the wizard.
      ins-io-data
      { "data": OBJECT, "_expires": 1669755285000 }

      It keeps a 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 the user has visited.
      ins-first-page-viewNumberSessionUsed to check if it's the first view during the 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 by 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 to GA, Insider sets cookies with 30-minute expiration dates and every user gets a new ID every 30 minutes.

      Was this article helpful?

      ESC

      Eddy AI, facilitating knowledge discovery through conversational intelligence