Skip to content
Start building
  1. Home
  2. Cookie and browser storage policy

Cookie and browser storage policy

Updated:

This policy describes the cookies and browser storage entries that appear on your device when you visit the informational website of the 1SARAFAN service: who creates them, what they are for, how long they last, how the consent banner works, and how to change your choice or opt out. The Privacy policy covers data handling in general.

What cookies and browser storage are

Cookies are small text files that a website or a third-party service saves in your browser. The browser keeps them for a set period and can send them along with requests, which lets a website recognize a returning visitor.

Browser storage is where a website keeps functional entries directly on your device. The website uses two types of browser storage:

  • localStorage, where entries remain until you clear the site’s data in your browser
  • sessionStorage, where entries are deleted when you close the tab

Unlike cookies, storage entries are not sent to a server on their own. They are read by the page’s code in your browser.

Website entries in browser storage

The website’s own code does not set cookies. It uses the following browser storage entries:

Name Set by Storage Purpose Duration
sarafan_consent 1SARAFAN website localStorage Your choice in the consent banner Until storage is cleared
sarafan_ad_params 1SARAFAN website sessionStorage Campaign parameters from the page URL, to add them to the service sign-in link Until the tab is closed
sf-lang 1SARAFAN website localStorage Selected language Until storage is cleared
sf-sound 1SARAFAN website localStorage Whether sound is on Until storage is cleared
sf-intro 1SARAFAN website localStorage, with a backup copy in sessionStorage The intro has already been shown 7 days; the backup copy lasts until the tab is closed
sf-tour 1SARAFAN website localStorage Functional flag showing that a tip has been displayed Until storage is cleared

The sarafan_consent entry is created when you click a button in the consent banner. The sarafan_ad_params entry is created only for visitors from countries where consent is not required, or after you click “Accept.”

These entries stay in your browser and are not sent to a server. Campaign parameters reach the 1SARAFAN service only as part of the sign-in link, when you follow it.

Google cookies

The website runs the Google tag (gtag.js) for Google Analytics 4 and Google Ads conversion measurement. The tag sets cookies only when consent mode allows it: for visitors from the EEA, the UK, Switzerland, and their territories, after they click “Accept”; for everyone else, by default.

According to Google’s documentation, the cookies the tag uses include the following:

Name Set by Purpose Duration
_ga Google Analytics Distinguishes visitors in statistics 2 years
_ga_<ID> Google Analytics Stores session state 2 years
_gcl_au Google Ads Ad conversion measurement 90 days
_gcl_aw Google Ads Ad click data 90 days
_gcl_gb Google Ads Ad click data 90 days

This list is not exhaustive: Google determines the set of cookies and their lifetimes. For how Google processes this data, see the Google Privacy Policy.

The website itself does not use Cloudflare cookies. Cloudflare may set security cookies such as __cf_bm or cf_clearance if it suspects automated traffic or shows a browser check. They are used only to protect the website, never for analytics or advertising, and usually expire within 30 minutes.

How the banner and consent mode work

The website uses Google Consent Mode v2 in its advanced implementation. Consent mode controls four parameters: ad_storage, ad_user_data, ad_personalization, and analytics_storage. They cover advertising cookies, sending user data to Google for advertising, ad personalization, and analytics cookies.

To apply the right rules, the website needs to know the visitor’s country. Cloudflare determines it from the IP address. The website does not store your IP address or country.

EEA, UK, Switzerland, and their territories, and cases where the country cannot be determined:

  1. By default, all four parameters are denied.
  2. The Google tag loads and sends anonymized signals to Google, without cookies or identifiers. This is how the advanced implementation works.
  3. The page shows a banner with “Accept” and “Decline” buttons.
  4. After you click “Accept,” all four parameters are granted and Google may set cookies.
  5. After you click “Decline,” all four parameters are denied and Google cookies are not set.
  6. Your choice is saved in the sarafan_consent entry. A “Cookies” button appears in the corner of the page, and you can use it to change your choice at any time.

All other countries. The parameters are granted by default and no banner is shown. Ways to opt out are listed in the next section.

Additional tag settings. Two Google settings are enabled:

  • url_passthrough: when cookies are not allowed, ad click parameters are passed in the URL as you move between pages of the website
  • ads_data_redaction: when advertising is not allowed, ad click identifiers are redacted

How to change your choice or opt out

The “Cookies” button. If the consent banner is shown to you, this is the main way to manage your choice. Click the button in the corner of the page and choose “Accept” or “Decline.” Withdrawing consent applies going forward and does not affect processing that took place before it.

Browser settings. In your browser settings, you can block cookies, delete cookies that are already stored, and clear site data. Declining in the banner does not remove cookies that were set earlier: clear them in your browser. If you clear storage, the sarafan_consent entry is deleted too, and the banner appears again if it is shown in your country.

Google tools. You can turn off Google Analytics on all websites with a browser add-on. Ad personalization is managed in your Google ad settings.

The website works without Google cookies: opting out does not block access to any page.

Related documents and contact

Questions about cookies and data: [email protected] or Telegram @PWA1sarafan_bot.