Cookie Policy
Last updated: 2026-11-15
Government Procurement Group Oy (Viran), Business ID 3636107-8. Version 2.0.
In short
- We run two separate services: our website viran.ai and the customer portal app.viran.ai. Each one asks for your choice separately.
- Both use a few cookies and browser storage items that they need to work or to remember settings you chose. These do not need your consent.
- Both can use PostHog analytics, which stores data in the EU. Analytics starts only if you click Accept. If you click Decline, or make no choice, no analytics storage is created and no analytics data is sent. On viran.ai, analytics also includes session recordings and heatmaps.
- We use no advertising or marketing cookies, and no social media trackers.
- You can change your choice at any time from Cookie Settings (viran.ai) or Cookie settings (app.viran.ai). Declining is one click, the same as accepting.
What cookies and browser storage are
A cookie is a small text file that a website saves in your browser. Websites can also save data in your browser's local storage (localStorage), which stays until it is deleted, and in session storage (sessionStorage), which is deleted when you close the tab. Under section 205 of the Act on Electronic Communications Services (917/2014), the consent rules cover all of these methods, not just cookies.
We put each item in one of three types:
- Strictly necessary: needed to provide the service you asked for, for example keeping you signed in or remembering your cookie choice.
- Preference: remembers a setting you chose yourself, such as language or list layout. It is used for nothing else.
- Analytics: tells us how the service is used. Used only with your consent.
Strictly necessary and preference items do not need consent, because they are needed to provide a service you asked for (section 205 of the Act on Electronic Communications Services). Analytics items need your consent before anything is stored.
Two sites, two separate choices
viran.ai and app.viran.ai are separate systems. Each has its own banner and its own consent cookie, both named viran-cookie-consent. A choice made on one site does not apply to the other. If you use both, you choose on both.
Cookies and storage on viran.ai
| Name | Set by | Purpose | Type | First or third party; who receives data | Lifetime |
|---|---|---|---|---|---|
viran-cookie-consent (cookie) | viran.ai cookie banner | Remembers your analytics choice: true (accepted) or false (declined) | Strictly necessary | First party; not shared | 365 days |
NEXT_LOCALE (cookie) | viran.ai server | Remembers the site language when you change it, or when it differs from your browser's language | Preference | First party; not shared | Until you close the browser |
ph_phc_…_posthog (cookie and localStorage) | PostHog script on viran.ai, after you accept | A random visitor ID, session ID and settings, so that page views can be counted as one visit | Analytics | First party; data goes to PostHog (EU) as our processor | Cookie 365 days; localStorage until deleted |
ph_phc_…_window_id, ph_phc_…_primary_window_exists (sessionStorage) | PostHog script on viran.ai, after you accept | Tells browser tabs apart within one visit | Analytics | First party; data goes to PostHog (EU) | Until you close the tab |
__ph_opt_in_out_phc_… (localStorage) | PostHog script on viran.ai, after you accept | Records in the browser whether PostHog analytics is on (1) or off (0) | Strictly necessary (records your choice) | First party; not shared | Until deleted |
phc_… is our PostHog project key. On viran.ai the PostHog script loads only after you click Accept. Before that, only viran-cookie-consent and NEXT_LOCALE can exist.
Cookies and storage on app.viran.ai
| Name | Set by | Purpose | Type | First or third party; who receives data | Lifetime |
|---|---|---|---|---|---|
__Secure-better-auth.session_token (cookie; HttpOnly, Secure, SameSite=Lax) | Portal sign-in | Keeps you signed in. It is checked on every request | Strictly necessary | First party; not shared | 30 days; ends when you sign out or your access changes |
viran_company (cookie) | Portal | Remembers which of your companies you last selected. It never grants access: your access is checked separately on every request | Preference | First party; not shared | 30 days |
viran-cookie-consent (cookie, app.viran.ai only) | Portal cookie banner | Remembers your analytics choice: 1 (accepted) or 0 (declined) | Strictly necessary | First party; not shared | 365 days |
viran-cases-view:… (localStorage) | Portal | Remembers how you sort, filter and lay out the case list | Preference | First party; not shared | Until deleted |
viran-case-preview-width (sessionStorage) | Portal | Remembers the width of the case preview panel | Preference | First party; not shared | Until you close the tab |
ph_phc_…_posthog (cookie and localStorage) | PostHog script in the portal, after you accept | Visitor ID, session ID and the properties listed under "Analytics" | Analytics | First party; data goes to PostHog (EU) as our processor | Cookie 365 days; localStorage until deleted |
ph_phc_…_window_id, ph_phc_…_primary_window_exists (sessionStorage) | PostHog script in the portal, after you accept | Tells browser tabs apart within one visit | Analytics | First party; data goes to PostHog (EU) | Until you close the tab |
In the portal, PostHog starts switched off and stores nothing until you click Accept. All traffic to app.viran.ai, cookies included, passes through Cloudflare, our network and security provider. Our privacy policy lists Cloudflare and our other processors.
Analytics (PostHog)
We use PostHog to see which pages and features people use, where they get stuck, and which errors occur, so that we can improve the website and the portal. We use it only if you click Accept on that site.
Where the data goes. Your browser sends events to our own address (viran.ai/relay or app.viran.ai/relay). From there they are forwarded to PostHog's EU service (eu.i.posthog.com). PostHog acts as our processor. On app.viran.ai, our server removes the portal's cookies before forwarding, so PostHog never receives your sign-in cookie. Both PostHog projects, for viran.ai and for app.viran.ai, are set to discard IP addresses, so PostHog does not store your IP address.
On viran.ai PostHog receives:
- page views and page leaves
- clicks on page elements
- page loading speed
- errors in the page
- events such as clicking a booking button or opening the booking page
- a recording of your visit (session recording): page content, mouse movements, clicks, console logs and network timing. Text you type into form fields is masked and is not recorded
- heatmaps, which combine clicks and scrolling from many visits
We do not attach your name or email address to these events. If you have accepted analytics and send the contact form, we link one event ("contact form sent", with your role, language and whether you gave an organisation) to your analytics ID. The message itself is not sent to PostHog. We use session recordings and heatmaps to understand how visitors use the site. Recordings are kept for 30 days.
On app.viran.ai PostHog receives:
- page views and page leaves
- clicks on page elements, including the text of the element clicked
- errors, with technical error details
- your name and email address, and whether you are Viran staff
- the ID and name of the company you are viewing
Session recording, surveys and feature flags are turned off.
How long it is kept. PostHog keeps analytics events for up to 7 years, so that use can be compared over the years. Session recordings from viran.ai are kept for 30 days. When you withdraw consent, no new data is sent. To have data that was already sent deleted, contact us (see "Contact").
Legal basis. Storing analytics data in your browser requires your consent under section 205 of the Act on Electronic Communications Services. The analytics processing that follows is based on your consent under Article 6(1)(a) of the GDPR. You can withdraw consent at any time. Withdrawal does not affect processing that took place before it. Read more in our privacy policy.
Accepting, declining and changing your choice
On viran.ai
- On your first visit, a banner at the bottom of the page shows Accept and Decline side by side. Both take one click. Until you choose, analytics stays off.
- To change your choice, click Cookie Settings at the bottom of any page, or the button below. This turns analytics off at once, deletes PostHog's visitor ID from the cookie and
localStorage, and shows the banner again so you can choose again. A small item (__ph_opt_in_out_phc_…, value0) stays inlocalStorageto record that analytics is off.
On app.viran.ai
- The portal shows its own banner with Accept and Decline side by side. Both take one click. Until you choose, analytics stays off.
- To change your choice, open Cookie settings in the account menu, or at the bottom of the sign-in page. This shows the banner again.
- If you click Decline, PostHog's visitor ID and stored properties are deleted from the cookie and
localStorage, and nothing more is sent. Theviran-cookie-consentcookie keeps the value0so that the portal remembers your choice.
On both sites, the PostHog items in sessionStorage are deleted when you close the tab, at the latest.
Blocking cookies in your browser
You can also block or delete cookies and browser storage in your browser's settings. If you block strictly necessary cookies on app.viran.ai, you cannot sign in to the portal. If you delete viran-cookie-consent, the banner appears again on your next visit.
Other sites we link to
When you book a meeting, viran.ai sends you to Microsoft Bookings, which runs on Microsoft's own domain. Microsoft's cookie policy applies there. We do not embed content from other sites on viran.ai.
Changes to this policy
We update this page when we add, remove or change a cookie or storage item. The version number and date at the top show the current version. If a change needs new consent, for example a new analytics tool, the banner asks you again before anything new is stored.
Contact
Questions about cookies or analytics: iivo.angerpuro@viran.ai
Government Procurement Group Oy (Viran), Business ID 3636107-8.