What cookies and device storage objects are used by Viafoura?

Viafoura products store some data required for functionality and analytics on visitor devices. This section answers what information is stored, why, and how. Depending on integration we could store information in cookies plus local/session storage (for web) or in app specific storage (for SDK).

For your reference, these are the cookies used by Viafoura's integration.

Web storage

For web integrations we store some data in cookies and some in local/session storage of browsers. Refer to tables below for details of each.

Cookie Reference

Cookie NameDescriptionGeneral PurposeIAB Purpose(s)1DomainLifetime
_vfaStores user and session identifiers for analyticsProduct analytics, customization1,5,6,8,9,10,11Page DomainIAB Purpose(s) 21 year
_vfbStores recirculation data for analyticsProduct analytics, customization1,8,9,10Page Domain230 minutes
_vfzStores referral data for analyticsProduct analytics, customization1,8,9,10Page Domain26 minutes
_vf_rd_test*Testing best domain name (SLD+TLD) to set cookies atFunctional1, Special Purpose 2Page Domain21 sec
VfRefreshRefresh identifier for authenticationFunctional1, 10, Special Purpose 1 & 2viafoura.co1 year
VfAccess*Access identifier for authenticationFunctional1, 10, Special Purpose 1 & 2viafoura.co5 minutes

Local/Session Storage Key Reference

storage keyDescriptionGeneral PurposeIAB Purpose(s)

1

Storage Type
_vf_notification_queue_last_seen_*Prevents unnecessary refresh of notificationsFunctional, customization1,10,11, Special Purpose 2Local Storage3
vf-push-notifications-opt-in*Indicates if user opted in for push notificationsFunctional, customization1,10,11, Special Purpose 2Local Storage3
_vf_pending_content_actionPrevents extra API calls for new content actionsFunctional, customization1,10,11, Special Purpose 2Local Storage3
_vf-content-reportedPrevents extra API calls for reporting eventsFunctional, customization1,10,11, Special Purpose 2Local Storage3
vf_content_editor_id_*Temporary storage for operational data for content eventsFunctional, customization1,10,11, Special Purpose 2Local Storage3
_vf_bootstrapMinimum Entry Point base settingsFunctional1, Special Purpose 2Local Storage3
LoginRadiusUserLogin radius operational dataFunctional, customization1,10, Special Purposes 1 & 2Local Storage3
adsDisabled-Flag indicating if ad integration is disabledFunctional1, Special Purpose 2Local Storage3
vf.analytics.sectionThe ID of the site or section the page belongs to. It is the same for every reader of the site, so it does not identify anyone. Used to load the site's settings and notification counts.Functional1, Special Purpose 2Local Storage3
vf.analytics.uidThe signed-in reader's Viafoura user ID. Saved only for signed-in readers, and only with analytics consent.Product analytics1,9,10Local Storage3
vf.analytics.upThe reader's role on the site, for example guest, user or moderator. Saved only with analytics consent.Product analytics1,9Local Storage3
vf.analytics.ppidA one-way hash of the signed-in reader's Viafoura user ID, or for guests of the visitor ID in the _vfa cookie. Used as a pseudonymous ID for analytics. Saved only with analytics consent.Product analytics1,9,10Local Storage3
vf.analytics.usA summary of the reader's visits and actions, such as page views, comments and follows, and the groups based on them. Saved only with analytics consent. It keeps the last 90 days, and older entries are dropped each time it is updated.Product analytics1,9,10Local Storage3
vf.analytics.abThe reader's group in a Viafoura A/B test: a number from 0 to 99 and the test's end date. Saved and used only on sites that run a Viafoura A/B test, and only with analytics consent. Without analytics consent, the reader is not in the test and sees the site's usual setting. A test's entry is removed after the test ends (90 days by default), and the reader's groups are removed when analytics consent is refused.Product analytics1,10Local Storage3
vf.analytics.eStackAnalytics events waiting to be sent, for example after a network error. Saved only with analytics consent. Removed once the events are sent, and holds at most 200 events.Product analytics1Local Storage3
vf.analytics.tcsentNotes that the reader's choices from your TCF consent platform were already sent to Viafoura analytics, so they are sent only once. Saved only on sites with a TCF consent platform, and only with analytics consent.Product analytics1Local Storage3
vf.analytics.tcdataA copy of the reader's choices from your TCF consent platform: whether GDPR applies, the TC string, and the answers for Viafoura (vendor 1138) and a few other vendors. Saved only on sites with a TCF consent platform, each time the platform reports a choice. Used to respect that choice.Functional1, Special Purposes 1 & 2Local Storage3
_vf_data_sabWhether this browser session is in the 5% sample that measures page speed (Core Web Vitals). A random number, with no identifier. Saved only with analytics consent.Product analytics1,10Session Storage4
vf.p3.*3rd-party targeting integration data storeCustomization1,9,11Local Storage3
vf.cmpCMP integration flagFunctional1, Special Purpose 2Local Storage3
vf_root_domainBest root domain for 1st party cookiesFunctional1, Special Purpose 2Local Storage3
_vf_skeleton_view_analyticsMinimum Entry Point analytics data, including the visitor ID from the _vfa cookie. Saved only with analytics consent.Product analytics, Customization1,5,6,8,9,10,11Local Storage3
signupReferralDataStores referral data for analyticsProduct analytics, Customization1,9Local Storage3
vf.consent.*Stores user consent information information applicable to deviceFunctional1, Special Purposes 1 & 2Local Storage3
vf.consent_acquiredSet to 1 while the reader has given analytics consent, and removed when consent is refused or withdrawn. Viafoura sets the _vfa, _vfb and _vfz cookies only while it is set.Functional1, Special Purposes 1 & 2Local Storage3

When analytics consent is refused

Viafoura saves the analytics cookies and values above only with analytics consent. Who decides:

  • If your site sets a consent flag, the flag decides: 2 gives consent, and -2, -1 and 1 refuse it, whatever the reader chose in a TCF consent platform. See Consent Management.
  • If your site sets no flag, the reader's choice in your TCF consent platform decides, if your site uses one. If tracking is turned off for your site in its Viafoura settings, none of these values is saved, whatever the reader chose.

When analytics consent is refused, Viafoura also removes what an earlier visit with consent saved:

  • Cookies: _vfa, _vfb and _vfz.
  • Local storage: vf.analytics.uid, vf.analytics.up, vf.analytics.ppid, vf.analytics.us, vf.analytics.ab, vf.analytics.eStack, _vf_skeleton_view_analytics and vf.consent_acquired. It also removes vf.analytics.mcd, a value from an older integration that Viafoura no longer saves.
  • Session storage: _vf_data_sab.

Refused means your site's consent flag is -2, -1 or 1, or, on a site that sets no flag, the reader refuses Viafoura in your TCF consent platform. Viafoura checks when a page loads and when the reader changes their choice while on the page. On a site that sets no consent flag, a refusal made in the consent platform during a visit applies from the next page the reader opens. A consent banner the reader has not answered yet removes nothing.

With flag -2 and our entry point, Viafoura products do not load, so only the _vfa, _vfb and _vfz cookies and vf.consent_acquired are removed then. The other values are removed the next time a Viafoura product loads while consent is refused.

Viafoura keeps the values it needs to work and to respect the reader's choice: vf.analytics.section, vf.analytics.tcdata, vf.analytics.tcsent and the saved consent flag vf.consent.flag.

If the reader gives consent again later, analytics values are saved afresh from then on, with a new visitor ID and new A/B test groups.

Page view count

The Viafoura script sends a small request to count each page view. It does not save or read cookies or any other browser storage, and it carries no identifier for the reader or the device.

When it is sent

  • Once when a page loads, and once for each new page in a single-page app.
  • Short updates for the same page view: up to five when Viafoura widgets appear on the page later, at any time while the page is open, and one when a page opened in a background tab is first shown.
  • Reloading the widgets with vf.context.reset() while the page address stays the same does not count a new page view. Widgets that appear after the reset are added to the page view already counted.
  • With every consent setting, including when analytics consent is refused.

What it contains

FieldWhat it holds
vThe version of the request format.
idA random ID for this page view only. It is made in memory, never saved, and new for every page view, so it cannot link one page view to another.
seq0 for the first request, then 1, 2 and so on for updates to the same page view.
tThe time on the reader's device when the request was sent.
srcweb for the web script, sdk for the mobile SDKs.
platThe platform, for example web, ios or android.
domThe site's domain, from the page's vf:domain, og:domain or domain meta tag, or else the page's hostname.
urlThe page address, without the query string or anything after #.
wThe names of the Viafoura widgets on the page, for example vf-conversations.
navHow the page view started: load, reload, spa (a new page in a single-page app), api (a page change made through the Viafoura JavaScript API) or bfcache (the browser's back or forward button restored the page).
visWhether the page was visible or hidden when the request was sent.
secOptional. The page's vf:section meta tag.
cvOptional. The version of the Viafoura script.

In the mobile SDKs, the request also has dev: phone or tablet.

How it is sent

  • With the browser's fetch call, to a Viafoura server.
  • The browser sends no cookies and no referrer with it.

What our server keeps

  • We do not store your IP address.
  • It reads the browser's User-Agent header in memory to spot bots and to tell the device type: desktop, mobile, tablet or TV. It keeps only those two results, not the header.
  • It keeps the fields above and the time it received the request.

The page view count has run on the web since October 2026, and in the mobile SDKs since Android 2.1.21 and iOS 1.3.16.

SDK

For SDK integrations we store some data in the in-app specific storage. Refer to tables below for details of keys we store data under. App data is stored as defined in device storage policies, which usually means that data is stored on a device until the app is uninstalled.

storage keyDescriptionGeneral PurposeIAB Purpose(s)

1

authTokenKeyAccess identifier for authenticationFunctional, customization1,10, Special Purposes 1 & 2
refreshTokenKeyRefresh identifier for authenticationFunctional, customization1,10, Special Purposes 1 & 2
sessionKeySession identifier for authenticationFunctional, customization1,10, Special Purposes 1 & 2
userUUIDKeyUser identifierFunctional, customization1,10, Special Purposes 1 & 2
X-unfinishedContentPrevents extra API calls for new content actionsFunctional, customization1,10,11, Special Purpose 2
X-unfinishedContentLiveChatPrevents extra API calls for new content actionsFunctional, customization1,10,11, Special Purpose 2
X-Y-flaggedCommentPrevents extra API calls for reporting eventsFunctional, customization1,10,11, Special Purpose 2
visitorIdKeyVisitor identifierProduct analytics, Customization1,5,6,8,9,10,11, Special Purposes 1 & 2
X-lastVisitPrevious visit timestampProduct analytics, Customization1,8,9,10
firstVisitFirst visit timestampProduct analytics, Customization1,8,9,10
X-numberVisitsNumber of visits so farProduct analytics, Customization1,8,9,10

GDPR Transparency and Consent Framework

For purpose of operational information disclosures required of Vendors by the Transparency and Consent Framework we also have the above information available via deviceStorage.json.

Footnotes

1: IAB Purpose(s) are as per Appendix A of IAB TCF Policies.

2: Page Domain here means, the domain of the page on which the Viafoura Javascript is running.

3: Local Storage data does not expire as per how it is implemented in browsers.

4: Session Storage is cleared when person closes all tabs with a site or shuts down the browser.


Did this page help you?