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 Name | Description | General Purpose | IAB Purpose(s)1 | Domain | Lifetime |
|---|---|---|---|---|---|
_vfa | Stores user and session identifiers for analytics | Product analytics, customization | 1,5,6,8,9,10,11 | Page DomainIAB Purpose(s) 2 | 1 year |
_vfb | Stores recirculation data for analytics | Product analytics, customization | 1,8,9,10 | Page Domain2 | 30 minutes |
_vfz | Stores referral data for analytics | Product analytics, customization | 1,8,9,10 | Page Domain2 | 6 minutes |
_vf_rd_test* | Testing best domain name (SLD+TLD) to set cookies at | Functional | 1, Special Purpose 2 | Page Domain2 | 1 sec |
VfRefresh | Refresh identifier for authentication | Functional | 1, 10, Special Purpose 1 & 2 | viafoura.co | 1 year |
VfAccess* | Access identifier for authentication | Functional | 1, 10, Special Purpose 1 & 2 | viafoura.co | 5 minutes |
Local/Session Storage Key Reference
| storage key | Description | General Purpose | IAB Purpose(s) | Storage Type |
|---|---|---|---|---|
_vf_notification_queue_last_seen_* | Prevents unnecessary refresh of notifications | Functional, customization | 1,10,11, Special Purpose 2 | Local Storage3 |
vf-push-notifications-opt-in* | Indicates if user opted in for push notifications | Functional, customization | 1,10,11, Special Purpose 2 | Local Storage3 |
_vf_pending_content_action | Prevents extra API calls for new content actions | Functional, customization | 1,10,11, Special Purpose 2 | Local Storage3 |
_vf-content-reported | Prevents extra API calls for reporting events | Functional, customization | 1,10,11, Special Purpose 2 | Local Storage3 |
vf_content_editor_id_* | Temporary storage for operational data for content events | Functional, customization | 1,10,11, Special Purpose 2 | Local Storage3 |
_vf_bootstrap | Minimum Entry Point base settings | Functional | 1, Special Purpose 2 | Local Storage3 |
LoginRadiusUser | Login radius operational data | Functional, customization | 1,10, Special Purposes 1 & 2 | Local Storage3 |
adsDisabled- | Flag indicating if ad integration is disabled | Functional | 1, Special Purpose 2 | Local Storage3 |
vf.analytics.section | The 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. | Functional | 1, Special Purpose 2 | Local Storage3 |
vf.analytics.uid | The signed-in reader's Viafoura user ID. Saved only for signed-in readers, and only with analytics consent. | Product analytics | 1,9,10 | Local Storage3 |
vf.analytics.up | The reader's role on the site, for example guest, user or moderator. Saved only with analytics consent. | Product analytics | 1,9 | Local Storage3 |
vf.analytics.ppid | A 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 analytics | 1,9,10 | Local Storage3 |
vf.analytics.us | A 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 analytics | 1,9,10 | Local Storage3 |
vf.analytics.ab | The 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 analytics | 1,10 | Local Storage3 |
vf.analytics.eStack | Analytics 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 analytics | 1 | Local Storage3 |
vf.analytics.tcsent | Notes 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 analytics | 1 | Local Storage3 |
vf.analytics.tcdata | A 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. | Functional | 1, Special Purposes 1 & 2 | Local Storage3 |
_vf_data_sab | Whether 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 analytics | 1,10 | Session Storage4 |
vf.p3.* | 3rd-party targeting integration data store | Customization | 1,9,11 | Local Storage3 |
vf.cmp | CMP integration flag | Functional | 1, Special Purpose 2 | Local Storage3 |
vf_root_domain | Best root domain for 1st party cookies | Functional | 1, Special Purpose 2 | Local Storage3 |
_vf_skeleton_view_analytics | Minimum Entry Point analytics data, including the visitor ID from the _vfa cookie. Saved only with analytics consent. | Product analytics, Customization | 1,5,6,8,9,10,11 | Local Storage3 |
signupReferralData | Stores referral data for analytics | Product analytics, Customization | 1,9 | Local Storage3 |
vf.consent.* | Stores user consent information information applicable to device | Functional | 1, Special Purposes 1 & 2 | Local Storage3 |
vf.consent_acquired | Set 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. | Functional | 1, Special Purposes 1 & 2 | Local 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:
2gives consent, and-2,-1and1refuse 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,_vfband_vfz. - Local storage:
vf.analytics.uid,vf.analytics.up,vf.analytics.ppid,vf.analytics.us,vf.analytics.ab,vf.analytics.eStack,_vf_skeleton_view_analyticsandvf.consent_acquired. It also removesvf.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
| Field | What it holds |
|---|---|
v | The version of the request format. |
id | A 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. |
seq | 0 for the first request, then 1, 2 and so on for updates to the same page view. |
t | The time on the reader's device when the request was sent. |
src | web for the web script, sdk for the mobile SDKs. |
plat | The platform, for example web, ios or android. |
dom | The site's domain, from the page's vf:domain, og:domain or domain meta tag, or else the page's hostname. |
url | The page address, without the query string or anything after #. |
w | The names of the Viafoura widgets on the page, for example vf-conversations. |
nav | How 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). |
vis | Whether the page was visible or hidden when the request was sent. |
sec | Optional. The page's vf:section meta tag. |
cv | Optional. 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
fetchcall, 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 key | Description | General Purpose | IAB Purpose(s) |
|---|---|---|---|
authTokenKey | Access identifier for authentication | Functional, customization | 1,10, Special Purposes 1 & 2 |
refreshTokenKey | Refresh identifier for authentication | Functional, customization | 1,10, Special Purposes 1 & 2 |
sessionKey | Session identifier for authentication | Functional, customization | 1,10, Special Purposes 1 & 2 |
userUUIDKey | User identifier | Functional, customization | 1,10, Special Purposes 1 & 2 |
X-unfinishedContent | Prevents extra API calls for new content actions | Functional, customization | 1,10,11, Special Purpose 2 |
X-unfinishedContentLiveChat | Prevents extra API calls for new content actions | Functional, customization | 1,10,11, Special Purpose 2 |
X-Y-flaggedComment | Prevents extra API calls for reporting events | Functional, customization | 1,10,11, Special Purpose 2 |
visitorIdKey | Visitor identifier | Product analytics, Customization | 1,5,6,8,9,10,11, Special Purposes 1 & 2 |
X-lastVisit | Previous visit timestamp | Product analytics, Customization | 1,8,9,10 |
firstVisit | First visit timestamp | Product analytics, Customization | 1,8,9,10 |
X-numberVisits | Number of visits so far | Product analytics, Customization | 1,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.
Updated 15 days ago
