1. What are cookies?
Cookies are small text files placed on your device when you visit a website. Similar technologies, such as pixels, tags, local storage and software development kits, may work in comparable ways.
This policy uses “cookie” to include those technologies where relevant.
2. What we currently use
The HI Hostels website currently uses one analytics cookie provided through the PostHog JavaScript SDK. We do not currently use marketing, advertising or targeting cookies.
PostHog analytics cookie. Cookie name: ph_phc_kSBuD3d3ESX1G4NyVe41GS9GGuIS1EaKJPiwaZNF3r6_posthog. Provider and domain: PostHog (posthog.com). The cookie is set directly on the hihostels.com domain and its subdomains by the PostHog JavaScript SDK.
It is not set by posthog.com. First- or third-party status: first-party.
The cookie is written to your browser by the hihostels.com domain. Data is transmitted to PostHog’s servers, where PostHog acts as a data processor.
Purpose and category: analytics / measurement. The cookie stores a pseudonymous visitor ID, session ID, device ID, active feature-flag state and SDK configuration.
It is used to measure page views, user journeys and site interactions across sessions. Duration: 365 days under the current PostHog SDK default.
The duration resets on each visit. Consent: consent-gated.
PostHog is not initialised until you actively accept analytics cookies through the consent mechanism.
3. Information collected by PostHog
When analytics cookies have been accepted, PostHog may receive the following information with events:
- page URL and page title
- referrer URL and referrer domain
- browser name and version
- operating-system name and version
- device type
- screen and viewport dimensions
- browser language
- raw user-agent string
- Geo IP-derived fields, including country, city, region, timezone and latitude/longitude, derived server-side from the client IP address.
The following custom properties are also captured:
- analytics_cookies — whether analytics cookies have been accepted
- cookie_consent — the consent value, such as accepted or saved
- visitor_role — for example, personal, school-group or travel-agent
- site
The client IP address is transmitted to PostHog with each request and is used to derive GeoIP information. The raw user-agent string is stored.
A pseudonymous distinct ID is stored in the cookie and attached to events. Where a user is identified—for example, a logged-in member—$user_id may also be attached to events.
Whether the raw IP address itself is retained depends on the PostHog project’s IP data capture setting. This setting should be checked under PostHog → Settings → Project details / project configuration before this policy is finalised.
4. Events we measure
On the new website, analytics may be used to measure:
- page views ($pageview)
- saved cookie preferences (preferences_saved)
- map searches
- list searches
- trip searches in the low-carbon / low-cost trip finder
For staging.hihostels.com, $pageview and preferences_saved have been confirmed as firing. Map search, list search and trip search tracking will also be configured for the website.
Wallet and membership events are not currently instrumented on the new website and are not covered as active tracking in this policy unless and until they are implemented and reviewed.
5. Consent and your choices
Analytics tracking is consent-gated. PostHog should not be initialised and analytics events should not be sent until you actively accept analytics cookies through the website’s consent mechanism.
The current implementation records analytics_cookies = true when analytics cookies have been accepted, and a preferences_saved event with consent values such as accepted or saved. You can reject analytics cookies or change your choice through the website’s cookie settings.
If you reject or withdraw consent, analytics tracking should stop and no new PostHog analytics events should be sent, subject to any limited processing needed to remember your preference. Deleting the cookie through your browser may remove the pseudonymous identifier stored on your device, but it does not necessarily delete information already received by PostHog.
You can also use your browser settings to block or delete cookies, although this may affect website functionality. The consent flow and its categorisation remain subject to formal legal and privacy sign-off.
6. PostHog processing and international transfers
PostHog acts as our data processor for this analytics service. PostHog’s data processing information is available at posthog.com/dpa.
The hosting location eu.i.posthog.com indicates PostHog Cloud EU, with hosting in Frankfurt, Germany.
7. Personal information
Cookie identifiers, IP addresses, user-agent strings, Geo IP-derived information, event data and account identifiers may constitute personal information under applicable law. Our Privacy Policy explains how HI handles personal information, including purposes, legal bases, sharing, international transfers, retention, security and your rights.
8. Changes to this policy
We may update this Cookie Policy if the PostHog configuration, analytics events, website functionality, hosting location or legal requirements change. We will publish the updated version here and change the effective date.
Where required, we will ask for consent again.
9. Contact
For questions about cookies or privacy, contact our Data Protection Officer at digital@hihostels.com or write to: Data Protection Officer, International Youth Hostel Federation, 7 Bell Yard, London WC2A 2JR, United Kingdom.

