Alibaba

Alibaba

Chinese e-commerce and technology conglomerate. Alibaba's advertising technology (Alimama) scripts fire tracking pixels on merchant sites that participate in Alibaba's affiliate and advertising networks, particularly for cross-border e-commerce.

Overview

Alibaba Group is the world's largest e-commerce and technology conglomerate, headquartered in Hangzhou, China. Its advertising technology arm — Alimama — operates a comprehensive digital advertising ecosystem serving merchants on Taobao, Tmall, AliExpress, and affiliated marketplaces. When Alibaba/Alimama scripts appear on third-party websites, they are typically affiliate tracking pixels, conversion measurement tools for Alibaba-affiliated advertising campaigns, or cross-border e-commerce attribution tags for merchants participating in Alibaba's global advertising networks. AliExpress in particular deploys tracking pixels on partner comparison sites and affiliate publishers to attribute cross-border traffic. In the EU and US, these scripts appear primarily on e-commerce affiliate and deal sites partnered with Alibaba's international commerce platforms.

What This Script Does

Script Files and Domains

Alimama and AliExpress tracking scripts load from g.alicdn.com (Alibaba's primary CDN for JavaScript assets), log.mmstat.com (Alibaba's behavioral tracking endpoint), and res.mmstat.com. AliExpress affiliate pixels fire to aax-eu.amazon-adsystem.com and click.aliexpress.com for click-based attribution. Some deployments use adfarm.mediaplex.com (ValueClick/Conversant heritage pixels). Alimama's performance network uses union.alimama.com for affiliate conversion reporting.

Cookies Set

  • cna — Alibaba's cross-network anonymous identifier. Persistent, 1-year expiry. Shared across Alibaba properties (Taobao, Tmall, AliExpress, Alimama). Set on Alibaba-owned domains. Used for user identification across Alibaba's ecosystem and for ad attribution.
  • munb — Member user number for authenticated Alibaba/Taobao users. Session-scoped.
  • tracknick — Tracks the affiliate referral source for commission attribution.
  • _m_h5_tk, _m_h5_tk_enc — CSRF protection tokens used in Alibaba's API calls, set on taobao.com and aliexpress.com domains.
  • uc1, uc3 — User credential cookies for Alibaba's unified login system.

Tracking Pixel Events

The Alimama affiliate pixel fires on: page view (with referral source and click ID), add-to-cart events (product ID, quantity, price), purchase completions (order ID, revenue, currency, item list), and custom conversion events. For AliExpress affiliate programs, the taoke tracking system records which affiliate publisher referred the converting customer, passing the affiliate ID and commission rate to Alimama's settlement system.

mmstat Behavioral Tracking

The log.mmstat.com endpoint receives behavioral telemetry from Alibaba properties and partner sites: scroll depth, click coordinates, time on page, navigation path, and search queries. This data feeds Alibaba's recommendation algorithm and cross-site behavioral targeting for Alimama DSP campaigns.

Data Jurisdiction — China PIPL

Alibaba is subject to China's Personal Information Protection Law (PIPL), which took effect November 2021. PIPL requires consent for cross-border data transfers. For European and US users whose data is collected by Alimama pixels and transmitted to Alibaba's servers in China, this creates a layered compliance obligation: GDPR applies on the collection side; PIPL governs Alibaba's handling on the processing side. Cross-border data transfers to China are not covered by the EU-US Data Privacy Framework, which only applies to US transfers.

Consent & Compliance

Category: Marketing

Under GDPR, Alibaba/Alimama tracking pixels require explicit prior consent. They set persistent cookies, build behavioral profiles, and transmit personal data to servers in China — a jurisdiction without an EU adequacy decision. Such transfers require supplementary safeguards (Standard Contractual Clauses) per GDPR Chapter V, in addition to consent.

The Hamburg DPA has flagged data transfers to China from EU websites without adequate transfer mechanisms as a priority enforcement area. Using Alimama pixels without proper SCCs and consent exposes site operators to dual risk: invalid consent and invalid transfer mechanisms.

Under CCPA, affiliate tracking and conversion data sharing with Alibaba's platform constitutes sharing personal information for advertising purposes.

Should You Block This Without Consent?

Yes. Alibaba/Alimama scripts perform conversion attribution and behavioral tracking for advertising, set persistent cookies, and transmit data to China without an EU adequacy decision. Both consent and valid data transfer mechanisms (SCCs) are required under GDPR before loading these pixels.

Is Alibaba GDPR compliant?

Alibaba typically loads 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 Alibaba 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 Alibaba, not on Alibaba itself.

Visit website

Consent Categories

Also Known As

AlimamaAlibaba pixelaffiliate tracking pixelAlibaba advertisingChinese ecommerce trackercross-border ad pixel

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (1)

Alibaba's trackers are rarely seen, seen on a small share of the sites ConsentStack has scanned. Scan your own site to see which of these are firing before consent.

alicdn.comEssential

alicdn.com is an essential domain operated by Alibaba, used to keep the site working, including security, load balancing, and sessions. Seen on a small share of scanned sites.

Frequently Asked Questions

Related Vendors

Fjord
Fjord
Advertising technology platform for premium publishers and broadcasters. The Fjord (CommandersAct) script serves as a server-side tag management system and customer data platform, collecting first-party events and forwarding them to connected marketing destinations.
SFBX
SFBX
Twilio's communication platform scripts appear when sites embed SMS, voice, or chat features built with Twilio APIs. The Twilio Client SDK handles real-time audio and messaging. No advertising or behavioral tracking is involved.
BuySellAds
BuySellAds
Self-service header bidding marketplace that connects independent publishers with premium advertisers via BuySellAds Marketplace and self-serve ad placements. Publisher scripts load ad units managed through the BuySellAds platform.
Cross Pixel Media
Cross Pixel Media
Audience data platform that collects and syncs third-party user segments for programmatic advertising. Cross Pixel scripts fire on publisher sites to collect behavioral signals and sync audience data with demand-side buyers for targeted ad campaigns.
eBay
eBay
eBay's advertising and affiliate tracking platform. The eBay Enterprise Affiliate pixel fires on advertiser confirmation pages to record sales referred by eBay's publisher and affiliate network. Also appears on eBay-owned properties for first-party analytics.
Rakuten
Rakuten
Japanese e-commerce and affiliate marketing conglomerate. Rakuten Advertising's script fires on merchant sites to track orders and attribute them to affiliate partners in the Rakuten Publisher Network. Sets cookies to maintain attribution across multi-day conversion windows.

Manage consent for Alibaba

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