FlowConsent
ServicesBlogExtensionSolutionsPricingTry FlowConsent
FlowConsent

FlowConsent is a GDPR-compliant cookie consent management platform.

Product

  • Services
  • Extension
  • Extension support
  • Solutions
  • Pricing
  • FlowConsent App

Legal

  • Privacy Policy
  • Terms of Service
  • Legal notice

© 2026 FlowConsent by BeBranded. All rights reserved.

FrancaisDeutschEspanol

Does your website use third-party services? Get GDPR compliant in minutes.

Try FlowConsent
  1. Home
  2. Services
  3. Analytics
  4. Baidu Analytics
B

Baidu Analytics

Analytics

Related services

34SP.com

34SP.com is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. 34SP.com supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, 34SP.com enables informed decisions that improve experience and drive results.

Analytics
5

51.LA

51.LA is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. 51.LA supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, 51.LA enables informed decisions that improve experience and drive results.

Analytics

52Degrees

52Degrees is an analytics and measurement platform providing deep insights into digital ecosystem performance. It tracks user interactions, measures campaign effectiveness, and identifies optimization opportunities across web and mobile. 52Degrees offers customizable dashboards, automated alerts, and data export capabilities. By transforming raw data into actionable intelligence, 52Degrees empowers organizations to optimize strategy and maximize return on investment.

Analytics
A

a3 Lazy Load

a3 Lazy Load is a comprehensive e-commerce platform that provides businesses with all the tools needed to build, manage, and grow an online store. From product catalog management and secure payment processing to inventory tracking and order fulfillment, a3 Lazy Load delivers a complete commerce solution. It features responsive storefront themes, SEO-optimized product pages, and powerful marketing tools to help merchants increase visibility and drive sales across channels.

Analytics
A

Able CDP

Able CDP is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. Able CDP supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, Able CDP enables informed decisions that improve experience and drive results.

Analytics
A

Abralytics

Abralytics is an analytics and measurement platform providing deep insights into digital ecosystem performance. It tracks user interactions, measures campaign effectiveness, and identifies optimization opportunities across web and mobile. Abralytics offers customizable dashboards, automated alerts, and data export capabilities. By transforming raw data into actionable intelligence, Abralytics empowers organizations to optimize strategy and maximize return on investment.

Analytics
Get compliant — Try FlowConsent free

Free plan · 10-min setup

What does Baidu Analytics do?

Baidu Analytics (百度统计) is a free web analytics platform from the Chinese search engine Baidu that measures audience, traffic sources, and on-site behaviour through first party and third party cookies.

Baidu Analytics, known in Chinese as 百度统计 (Baidu Tongji), is the free web analytics service of the Chinese search engine Baidu. It is the Chinese market equivalent of Google Analytics and is widely used by businesses targeting the mainland Chinese audience. The script collects audience metrics, traffic sources, conversions, page performance, and visitor behaviour, sending the data to Baidu servers located in China.

What Baidu Analytics does

Baidu Analytics provides reports on real time visitors, pageviews, sessions, bounce rate, conversion funnels, source and medium, geography, device, and search keywords from Baidu organic traffic. It supports event tracking, custom variables, and ecommerce reports. The implementation is a JavaScript snippet pasted before the closing body tag of every page, which loads hm.baidu.com/hm.js with a unique site identifier.

Cookies and data collected

The script sets several first party cookies prefixed with Hm_, including Hm_lvt_ (last visit timestamp), Hm_lpvt_ (last pageview timestamp), and HMACCOUNT (cross site visitor identifier set on hm.baidu.com). It also reads the user agent, IP address, referrer, viewport, language, and the full URL of every page view. Combined, these elements allow Baidu to recognise returning visitors across sessions and across all sites running Baidu Analytics.

GDPR and ePrivacy implications

Baidu Analytics processes personal data within the meaning of Article 4(1) GDPR. The cookies it sets are not strictly necessary, so under Article 5(3) of the ePrivacy Directive they require prior, freely given, specific, informed, and unambiguous consent. Baidu also acts as an independent controller for its own purposes, including ad targeting on the Baidu network, which removes the typical processor relationship most European publishers expect from a tracking vendor.

Get GDPR compliant in 10 minutes

Free plan available · No credit card required

Try FlowConsent free

Data transfers to China

All data is sent to Baidu servers in mainland China. China is not on the European Commission adequacy list. Transfers therefore rely on Article 46 GDPR safeguards (Standard Contractual Clauses) combined with a Transfer Impact Assessment that takes into account Chinese state access powers under the Cybersecurity Law, the Data Security Law, and PIPL. Baidu has not published EU SCCs as of writing, which makes Baidu Analytics very difficult to deploy lawfully for European users.

How to deploy it compliantly

Block the Baidu Analytics tag by default in your Consent Management Platform. Load hm.baidu.com/hm.js only after the visitor accepts the analytics category. Document Baidu Analytics in your record of processing activities and your privacy notice, with a clear mention of the China transfer. For European audiences, consider using a privacy friendly alternative such as Matomo, Plausible, or Piwik PRO instead, and keep Baidu Analytics enabled only on geographies where it adds real value.

GDPR consent category

Analytics

Websites using Baidu Analytics must obtain user consent under GDPR regulations.

Legal basisConsent (Art. 6(1)(a) GDPR and Art. 5(3) ePrivacy Directive)
Risk levelhigh
Applicable regulationsGDPR, ePrivacy Directive, PIPL, Schrems II case law

DPIA considerations

A DPIA is strongly recommended. Baidu Analytics combines large scale behavioural profiling with a systematic transfer to China, a country without an EU adequacy decision and subject to broad state access powers. Document the purposes, retention, SCCs, the Transfer Impact Assessment, and any supplementary measures such as IP truncation or pseudonymisation.

Sample consent text

We use Baidu Analytics to measure how our site is used. This service places cookies and transfers your data to Baidu servers in China. We only activate it after you click Accept in our cookie banner.

Technical details

Tracking methodJavaScript tag with first party and third party cookies, server side aggregation
Server locationChina (Beijing, Shanghai)
Data transferred outside the EUAll visitor data is transferred to Baidu servers in mainland China. China is not recognised by the European Commission as providing an adequate level of data protection, so transfers require additional safeguards (Standard Contractual Clauses plus a Transfer Impact Assessment).

Third-party domains contacted

hm.baidu.comtongji.baidu.comeclick.baidu.compos.baidu.com

Cookies placed

NameTypeDurationPurpose
Hm_lvt_<site>http_cookie6 monthsStores the timestamp of the user's last visit so that Baidu Analytics can compute unique and returning visitors.
Hm_lpvt_<site>http_cookiesessionStores the timestamp of the user's last pageview so that Baidu Analytics can compute session duration and bounce rate.
HMACCOUNThttp_cookie2 yearsCross site visitor identifier stored on hm.baidu.com that lets Baidu recognise the same user across all sites running Baidu Analytics.
HMVThttp_cookiesessionVisit tracking cookie used to consolidate the events sent within a single visit.
HMF_<site>http_cookie1 yearFrequency capping cookie used by Baidu Analytics on some properties to detect repeated interactions.

Baidu Analytics collects user analytics data — you legally need a consent banner. Try FlowConsent free.

Get started freeScan your site

Frequently asked questions

What cookies does Baidu Analytics set?

Baidu Analytics sets several first party cookies that start with the prefix Hm_, including Hm_lvt_ (last visit timestamp), Hm_lpvt_ (last pageview timestamp), HMACCOUNT (a cross site visitor identifier set on hm.baidu.com), and HMVT (visit tracking). The script also reads the IP address, user agent, viewport, referrer, and full page URL of every visit.

Does Baidu Analytics require GDPR consent?

Yes. Baidu Analytics writes cookies that are not strictly necessary and processes personal data including IP and behavioural identifiers. Under Article 5(3) of the ePrivacy Directive and Article 6(1)(a) GDPR, you must obtain prior, freely given, specific, informed, and unambiguous consent before loading the hm.baidu.com script.

What is the legal basis for processing?

Consent under Article 6(1)(a) GDPR is the appropriate legal basis, combined with the consent requirement of Article 5(3) ePrivacy. Legitimate interest is not workable here because Baidu acts as an independent controller for its own targeting purposes and transfers data to a third country without an adequacy decision.

Are data transferred outside the EU?

Yes. All Baidu Analytics data is transferred to Baidu servers in mainland China. China has no EU adequacy decision. Transfers require Article 46 safeguards such as Standard Contractual Clauses and a Transfer Impact Assessment, which is very difficult to pass given Chinese state access powers under the Cybersecurity Law, the Data Security Law, and PIPL.

Do I need a DPIA?

A DPIA is strongly recommended. Baidu Analytics combines systematic monitoring of website visitors, transfers to a third country, and processing by a vendor that acts as an independent controller. These elements meet several criteria of the EDPB DPIA guidelines and justify a documented risk assessment.

How do I implement Baidu Analytics compliantly?

Block the hm.baidu.com script by default in your Consent Management Platform. Load it only after the visitor accepts the analytics category. Disclose the China transfer in your cookie banner and privacy notice, list the cookies and their lifetime, and provide an easy way to withdraw consent. Sign Standard Contractual Clauses with Baidu and complete a Transfer Impact Assessment.

Are there alternatives to Baidu Analytics?

For European audiences, consider Matomo, Plausible, Piwik PRO, Fathom, or Umami. These platforms can host data in the EU, support cookieless modes, and are designed with GDPR in mind. Reserve Baidu Analytics for cases where measuring the Chinese mainland audience is a real business need.

How do I update my cookie policy for Baidu Analytics?

Add a dedicated entry for Baidu Analytics in your cookie policy. List each Hm_ cookie, its purpose, its lifetime, and the fact that data is processed by Baidu in China. Explain the transfer mechanism (SCCs and TIA), name Baidu as joint or independent controller depending on your configuration, and link to the Baidu Analytics privacy statement.