WeChat

WeChat

WeChat widgets embedded on websites targeting Chinese audiences display QR codes for following official accounts and social sharing buttons for WeChat Moments. Scripts load Tencent's JS SDK, which may collect browser environment data and transmit it to Tencent servers.

Overview

WeChat is a Chinese super-app developed by Tencent, combining messaging, social media, mobile payments, and mini-programs into a single platform with over a billion active users. For websites targeting Chinese audiences, WeChat integration typically involves embedding QR codes for following official accounts, social sharing buttons for WeChat Moments, and login via WeChat's OAuth system. These features rely on Tencent's JavaScript SDK loaded directly into the visitor's browser.

WeChat widgets are particularly common on websites serving Chinese-speaking markets, where WeChat functions as essential digital infrastructure — comparable to combining WhatsApp, Facebook, Apple Pay, and app stores into one platform.

What This Script Does

When WeChat widgets are embedded on your website, Tencent's JS SDK executes the following:

  • QR code rendering: Generates dynamic QR codes that visitors scan with their WeChat app to follow official accounts or access mini-programs.
  • Social sharing: Provides sharing buttons that let visitors post pages to WeChat Moments or send them to contacts, with customized titles, descriptions, and thumbnail images.
  • Browser fingerprinting: The SDK collects browser environment data including user agent, screen resolution, language settings, and device information, transmitting this to Tencent's servers.
  • Authentication: If WeChat Login is implemented, the SDK handles OAuth flows, redirecting visitors through Tencent's authentication servers and returning user profile information.
  • Network requests: All widget interactions generate requests to Tencent domains (e.g., res.wx.qq.com, open.weixin.qq.com), exposing visitor IP addresses to Tencent infrastructure.

The SDK may set cookies or local storage entries to maintain state across sessions, particularly when authentication features are active.

Consent & Compliance

WeChat integration raises significant data protection considerations, particularly for sites subject to GDPR. Tencent is a Chinese company, and data transmitted to its servers may be processed and stored in China, which the EU does not recognize as providing an adequate level of data protection. This makes Standard Contractual Clauses or other transfer mechanisms necessary.

The browser environment data collected by the SDK goes beyond what is strictly necessary for displaying QR codes or sharing buttons, making it difficult to justify under a legitimate interest basis alone. Under the ePrivacy Directive, reading device information constitutes accessing the user's terminal equipment, which requires consent unless the access is strictly necessary for a service explicitly requested by the user.

For sites that must comply with both GDPR and Chinese data protection laws (PIPL), the compliance landscape is complex and may require separate legal analysis for each jurisdiction.

Should You Block This Without Consent?

Yes. The SDK collects browser environment data and transmits it to Tencent's servers in China, which constitutes cross-border data transfer to a jurisdiction without EU adequacy status. This should be gated behind consent.

Is WeChat GDPR compliant?

WeChat typically loads functional and marketing trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So WeChat can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads WeChat, not on WeChat itself.

Visit website

Consent Categories

Also Known As

WeChat Official AccountWeChat QR codeWeChat MomentsTencent WeChatWeChat JS SDK

Industries

Computers Electronics and TechnologyBusiness and Consumer ServicesTelecommunicationsMarketing and Advertising

Tracked Domains (1)

wechat.comFunctional

wechat.com is a functional domain operated by WeChat, used to run site features like chat, video, embeds, and preferences.

Frequently Asked Questions

Related Vendors

MessageBird
MessageBird
MessageBird scripts embed customer support chat widgets on websites, enabling live chat and automated messaging via SMS, WhatsApp, and email channels. Scripts load the chat interface, manage conversation sessions, and may collect visitor information submitted through the widget.
Webex Events
Webex Events
Webex Events embeds event registration forms, attendee check-in tools, and engagement features on event websites. Scripts collect registrant information, manage session scheduling, and transmit attendee activity data to Cisco's event management infrastructure.
Bunny Fonts
Bunny Fonts
Bunny Fonts is a privacy-friendly web font hosting service by Bunny.net. Fonts are served via CDN without cookies, logging, or cross-site tracking, making it a GDPR-compliant alternative to Google Fonts for loading typefaces on websites.
Notion
Notion
Notion public pages embedded on websites load via iframe or direct embed and execute Notion page rendering scripts. Scripts track page view events and load dynamic content from Notion servers; visitors accessing embedded Notion content are subject to Notion tracking practices.
Bunny Stream
Bunny Stream
Bunny Stream scripts embed adaptive video players on websites to stream hosted video content via Bunny.net CDN infrastructure. Scripts handle video playback, quality adaptation, and buffering; they may collect playback events and viewer engagement metrics for analytics reporting.
Coursera
Coursera
Coursera scripts embed course preview widgets and enrollment call-to-action flows on partner and affiliate websites. Scripts load course metadata, track click-through events to Coursera enrollment pages, and may set affiliate attribution cookies to credit referring partners.

Manage consent for WeChat

ConsentStack automatically detects and manages WeChat trackers so your site stays compliant with global privacy regulations.