Skip to content

Something urgent? Call us now! (852) 3416 1711

Cookies and what you need to know

By Allison Lee

Hong Kong, 12 January 2021: Cookies, also known as HTTP Cookies, are text files which are stored on a user’s computer to enable website owners to identity the user’s computer or electronic device. They are generally used by website owners to track a user’s online behaviour or interaction with websites.

These text files typically store information such as the user’s username, language preference and browsing habits. For example, it is a way how website owners serve targeted advertisements which match a user’s browsing preferences.

The widespread use of cookies increasingly raises privacy concerns since a user’s browsing activities are often collected and might also be transferred to third parties without the user’s knowledge and the information might also be used for marketing purposes.

In Hong Kong, personal data covers information which relates to a living individual and can be used to ascertain that individual’s identity. It must also exist in a form in which access to or processing of it is practicable. When determining whether a piece of data is personal data, the totality of the circumstances should be taken into account (see Note 1 below).

In light of the above, when deciding whether cookies in a specific case are personal data, it depends on whether the cookies contain any data that can uniquely identify an individual. Website owners who deploy online tracking that involves the collection of personal data should consider the requirements under the Personal Data (Privacy) Ordinance, including the six Data Protection Principles. 

Website owners intending to use cookies to collect information from users are recommended to:

  1. Inform website users about the kind of information being stored in the cookies, the purpose of collecting the information and how the information is collected;
  2. State whether the websites allow access by users who do not accept the use of cookies and whether there would be any loss of functionality resulting from not accepting cookies.

If the website deploys third-party cookies, the website owner should also set out the type of information being collected and/or transferred and the purposes of collecting the information (Notes 2 & 3).

When cookies are used to collect behavioural information, it is recommended that website owners should:

  1. Set up an appropriate expiry date for the cookies;
  2. Encrypt the contents of the cookies whenever appropriate; and 
  3. Not deploy techniques that disregard browser settings on cookies unless they can provide an alternative to website users to disable the cookies or decline the use of cookies (Note 4).

It is also important for the website owners to offer an option to website users to disable or reject the cookies.

Many countries have recently expanded their regulations to cover cookies in their scope of personal data for better protection of data privacy. For more information, website owners or website users should observe the Guidance on Online Behavioural Tracking issued by the Office of the Privacy Commissioner for Personal Data.

Notes:
1. https://www.pcpd.org.hk/english/data_privacy_law/ordinance_at_a_Glance/ordinance.html
2. https://www.pcpd.org.hk/english/publications/files/guidance_internet_e.pdf
3. https://www.pcpd.org.hk/english/publications/files/GN_picspps_e.pdf
4. https://www.pcpd.org.hk/english/publications/files/online_tracking_e.pdf

An Associate with Boase Cohen & Collins since 2015, Allison Lee is experienced in the fields of data protection, intellectual property, matrimonial and family matters, and general civil litigation. In addition to her law qualifications, she holds a Master degree in Science specialising in electronic commerce and internet computing. She can be contacted at allison@boasecohencollins.com.

40+ years of legal experience is just a click away.

Friendly and approachable, we are ready to answer your questions and offer you sound advice.

Contact us now

BC&C-contact-us

News & Knowledge

Learn more about what we do and what we say. Subscribe to our newsletter to ensure you receive our updates.

  • This field is for validation purposes and should be left unchanged.

Living with the wait of expectation

London, 13 August 2025: We spend 47 days of our life queuing, apparently. Supermarkets, bus stops, airports, landmarks … you name it, we wait. Two hours for a glimpse of the Mona Lisa? No problem! Four hours before you can tour the Taj Mahal? Bring it on! After all, this is nothing compared to tennis […]

Read more

PolyU powering robotics revolution

Hong Kong, 12 August 2025: The rapid rise of artificial intelligence (AI) and robotics is having a huge impact on the legal profession and here at BC&C we are embracing new technologies as a way of enhancing efficiency and further improving our service to clients. In this regard, we are grateful to fintech professor Brian […]

Read more

Money lenders face heightened scrutiny

By Arthur Chan Hong Kong, 11 August 2025: Proposals have been put forward to enhance regulation of licensed money lenders, with the authorities seeking to curb predatory practices, high interest rates and dubious tactics such as intimidation and harassment. The move has been widely welcomed amid growing concern over the social impact of excessive borrowing […]

Read more

Law & More: Episode 55 – John Scott KC SC

Hong Kong, 4 August 2025: In the latest edition of Law & More, we meet John Scott KC SC, who looks back on his journey through the legal landscape: from his early days as a barrister in London, to the landmark case that brought him to Hong Kong, and his many years as a commercial […]

Read more

Insurance talk focuses on taxi fleets

Hong Kong, 25 July 2025: Our Senior Associate Vivian Yu and Associate Joanna Chin examined the impact of Hong Kong’s new taxi fleet regime on insurers in a talk to Bank of China Group Insurance Company executives. Their presentation highlighted how the city’s much-anticipated premium taxi service will not only shake up the personalised point-to-point […]

Read more