Cookie Policy
Cookies are small text files a website stores in your browser; “local storage” is a similar store that stays on your device. This page lists every cookie and storage entry this website uses. We use no advertising or cross-site tracking cookies. More detail is in our Privacy Policy.
1. Your choice
Visitors from the EU, the EEA, the United Kingdom and Switzerland, and everyone on our German-language pages, are asked before any analytics loads: Google Analytics and Ahrefs Web Analytics run only after you choose “Accept”. Elsewhere they load by default. Everyone can change the choice at any time under “Cookie settings” at the foot of every page, or here:
Rejecting stops both services from loading and deletes the Google Analytics cookies where the browser allows it. Your choice is remembered for 12 months, after which we ask again.
Each time you choose “Accept” or “Reject”, your browser tells our server which of the two you chose, and the server adds one to that day’s count for that choice. We record nothing else (no IP address, no identifier), and no cookie is set for it. As with every request, our host Cloudflare processes the connection data described in section 2 of the Privacy Policy.
2. Cookies
| Cookie | Set by and purpose | When | Kept for |
|---|---|---|---|
| Security cookies (e.g. __cf_bm) | Cloudflare, our host: protect the site against bots and attacks | Only when Cloudflare’s protection needs them; strictly necessary | Usually up to 30 minutes |
| _ga, _ga_<ID> | Google Analytics 4: distinguish visits and measure how the site and quote form are used | After “Accept” (EU/EEA/UK/CH and German pages); by default elsewhere | Up to 2 years |
| YouTube cookies | YouTube (Google), from youtube-nocookie.com | Only after you click play on the video on our About page | Set by Google |
Ahrefs Web Analytics sets no cookies. Our fonts are stored with the site, so no font service sets anything either.
3. Local storage
| Entry | Purpose | Kept for |
|---|---|---|
| yp_consent_v1 | Your analytics choice (accept or reject) and its date, so we do not ask on every page | 12 months, then we ask again |
| i18nextLng | Whether you last chose English or Chinese with the language switcher (other languages are stored as English) | Until you clear it |
| yuan-contact-quote | Time the quote form was last sent, to stop accidental double sending (EmailJS) | Until you clear it; it blocks resending for 60 seconds |
| yp_internal | A mark for our own staff’s browsers, set only when a page is opened with ?yp_internal=1: Google Analytics and Ahrefs Web Analytics then never load in that browser | Until you clear it, or a page is opened with ?yp_internal=0 |
These entries stay in your browser and are not sent to us or anyone else (for the count of choices in section 1, your browser sends which of the two you chose, never these entries). They are needed for features you use, so they do not require consent.
Session storage: where we do not ask for consent (section 1) and you have chosen neither “Accept” nor “Reject”, the site also keeps yp_visit_source_v1 for the current tab — the website you came from, any campaign tag in the link you followed and the first page you opened. It is sent to us only with a quote request you submit (Privacy Policy, section 3) and is deleted when you close the tab. Where we ask for consent, or once you have made a choice, nothing is stored for it, not even after “Accept”: these details then stay in the open page’s memory only. Where the GDPR applies to this entry, we rely on the legitimate interest named in section 3 of the Privacy Policy (Art. 6(1)(f) GDPR).
For every visitor, the site also keeps yp_scroll_v1 in session storage: how far down you had scrolled on each of the last 50 pages you opened in the current tab, noted against the page’s address or a random label, so that Back and Forward (also when you come back from another site) and a reload take you back to the same place on the page. It is kept for the current tab only, is deleted when you close the tab and is not sent to us or anyone else. It is strictly necessary to provide this feature you use, so it does not require consent.
4. Managing cookies in your browser
You can delete cookies and local storage, or block cookies, in your browser settings at any time. If you delete yp_consent_v1, we will ask for your analytics choice again where that applies.
5. Contact
Questions about cookies or your data: info@yuanpackaging.com
Phone: +86 180 3650 1966
Last updated: 31 October 2026