Cookie Policy

Last updated: 27 March 2026

1. What Are Cookies?

Cookies are small text files placed on your device when you visit a website. They are widely used to make websites work efficiently, to remember your preferences, and to provide information to site owners. Similar technologies such as local storage and session storage may also be used for the same purposes.

2. How We Use Cookies

TownsHub uses cookies in three categories. Your consent is required for non-essential cookies before they are set.

Essential Cookies

Always Active · No consent required

These cookies are strictly necessary for the website to function. They enable authentication, security, and session management. Without them, you cannot log in or use the platform.

Cookie NameProviderPurposeDuration
sb-*-auth-tokenSupabaseAuthentication session token1 hour (auto-refreshed)
sb-*-auth-token-code-verifierSupabaseOAuth PKCE flow securitySession
townshub_cookie_consentTownsHubStores your cookie preferences (local storage)Persistent

Analytics Cookies

Consent Required

These cookies help us understand how visitors interact with TownsHub so we can improve the platform. They collect anonymised information about pages visited, time on site, and traffic sources. We only set these if you consent.

Cookie NameProviderPurposeDuration
_gaGoogle AnalyticsDistinguishes unique users2 years
_ga_*Google AnalyticsMaintains session state2 years
_gidGoogle AnalyticsIdentifies user session24 hours
_gatGoogle AnalyticsThrottles request rate1 minute

Marketing Cookies

Consent Required

Marketing cookies are used to track visitors across websites to display relevant advertisements. Currently we do not run advertising campaigns, but this may change in the future. These cookies are only set if you explicitly consent.

No marketing cookies are currently active.

3. Managing Your Cookie Preferences

You can manage your cookie preferences in several ways:

Cookie Banner

When you first visit TownsHub, a cookie banner allows you to accept all cookies, reject non-essential cookies, or customise your preferences. Your choice is saved and respected on all future visits.

Browser Settings

Most browsers allow you to control cookies through their settings. You can set your browser to refuse cookies or delete certain cookies. Note that disabling essential cookies may affect the functionality of TownsHub (e.g., you may not be able to log in).

Opt-Out of Google Analytics

You can opt out of Google Analytics across all websites by installing the Google Analytics Opt-out Browser Add-on.

4. Local Storage

In addition to cookies, we use browser local storage to save your cookie consent preferences (key: townshub_cookie_consent). This is essential for honouring your choices across visits and does not transmit data to our servers. You can clear local storage via your browser's developer tools or by clearing all site data.

5. Changes to This Policy

We may update this Cookie Policy to reflect changes in the cookies we use or for other operational, legal, or regulatory reasons. We will notify you of any material changes through the platform or by email.

6. Contact Us

If you have any questions about our use of cookies, please contact us at privacy@townshub.com.