Treasure Data

Treasure Data

Treasure Data is an enterprise customer data platform. Scripts collect behavioral events from websites and mobile apps and route them to Treasure Data's cloud DWH for real-time audience segmentation and activation in marketing campaigns.

Overview

Treasure Data is an enterprise Customer Data Platform (CDP) founded in 2011 and headquartered in Mountain View, California. Acquired by Arm Holdings in 2018, Treasure Data operates a large-scale cloud data warehouse built on Apache Hadoop and Presto, designed to ingest, unify, and activate behavioural data at petabyte scale. Enterprise organisations — particularly in retail, automotive, financial services, and consumer goods — use Treasure Data to build unified customer profiles from website behaviour, mobile app events, offline transaction records, and third-party data sources. The unified profiles are then used for audience segmentation, personalisation, and marketing campaign activation.

What This Script Does

Treasure Data's website SDK loads from cdn.treasuredata.com and initialises as td in the global JavaScript namespace. The SDK captures a comprehensive stream of behavioural events and sends them to Treasure Data's cloud ingestion endpoints.

Cookies and identifiers:

  • td_uid — First-party persistent visitor identifier set on the host domain; created on first page load; expiry 2 years. This is the primary key used to stitch all behavioural events to a single visitor profile across sessions.
  • td_ssc_id — Server-side cookie complement used when the td_uid is set via a server-side helper to extend effective cookie lifetime beyond ITP restrictions; expiry 1 year.
  • _td — Secondary analytics identifier sometimes deployed alongside td_uid for session deduplication; expiry 30 minutes to 1 year depending on configuration.

Script filename and CDN: sdk.js loaded from cdn.treasuredata.com/sdk/latest/ or a version-locked path. Event data is POSTed to in.treasuredata.com/postback/v3/event/ using the host organisation's write API key.

Per-event data collected:

  • Full page URL, referrer, and title
  • UTM campaign parameters and traffic source attribution
  • Click events with target element metadata (CSS selector, href)
  • Form interaction events (field focus, submission — excluding sensitive field values by default)
  • Page visibility and scroll depth
  • Session duration and engagement score
  • Device fingerprint components: user agent, screen dimensions, timezone, language
  • IP address (used for geolocation and enrichment at the CDP layer)

Downstream activation: Collected data feeds Treasure Data's audience segmentation engine, enabling real-time segment membership evaluation and activation to downstream marketing platforms including DMP partners, advertising DSPs, and marketing automation systems (Salesforce Marketing Cloud, Adobe Campaign, Braze).

Consent & Compliance

Treasure Data is classified under the analytics category, though its downstream marketing activation capability means it often functions as a marketing tool. Under GDPR Article 6, the persistent td_uid identifier and behavioural event collection require a lawful basis. When data is used solely for internal analytics with no third-party marketing activation, legitimate interest may apply; when it feeds advertising audiences or personalisation, explicit consent is required. IAB TCF Purpose 1 (Store/access device), Purpose 7 (Measure content performance), and Purpose 9 (Apply market research) are relevant. Under ePrivacy, the td_uid persistent cookie requires prior consent. Treasure Data participates in the EU-US Data Privacy Framework. Under CCPA/CPRA, if behavioural data is shared with advertising platforms for audience targeting, this may constitute a "sale" or "sharing" of personal information.

Should You Block This Without Consent?

Conditional. If Treasure Data is used solely for first-party internal analytics, a legitimate interest argument may be sustainable with appropriate balancing tests. If data feeds third-party marketing activation or audience sharing, block until the user provides explicit analytics and/or marketing consent.

Is Treasure Data GDPR compliant?

Treasure Data typically loads marketing and analytics 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 Treasure Data 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 Treasure Data, not on Treasure Data itself.

Visit website

Consent Categories

Also Known As

Treasure DataTreasureDataenterprise CDP consentcustomer data platform GDPRCDP tracking cookiesARM Treasure Data

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (1)

Treasure Data's trackers are rarely seen, seen on under 1% of the sites ConsentStack has scanned. Scan your own site to see which of these are firing before consent.

treasuredata.comMarketing

treasuredata.com is a marketing domain operated by Treasure Data, used to serve ads, build audiences, and measure ad conversions. Seen on under 1% of scanned sites.

Cookies Treasure Data Sets (2)

_td

Treasure Data CDP anonymous visitor identifier.

_td_global

Treasure Data CDP cross-property global visitor identifier.

Frequently Asked Questions

Related Vendors

Dynamic Yield
Dynamic Yield
E-commerce performance optimization platform that personalizes website content and product recommendations. The Dynamic Yield script fetches personalization configurations and injects modified page elements — product carousels, banners, pricing — targeted to visitor segments. Tracks interaction events to refine recommendation models.
Movable Ink
Movable Ink
Email personalization and dynamic content platform. Movable Ink scripts generate personalized, real-time content within email campaigns. Web scripts may appear as tracking pixels that fire when email-referred visitors land on the advertiser's site.
Gemius
Gemius
Gemius is a European digital audience measurement company. The Gemius script collects page view data, session information, and demographic indicators to generate audience reach and frequency reports used in media planning across Central and Eastern Europe.
Lucid Holdings
Lucid Holdings
Lucid Holdings operates a performance analytics platform for time-based ad campaigns and sponsorships. Scripts measure audience delivery, reach, frequency, and engagement for brand sponsorships and direct-sold advertising campaigns, providing campaign effectiveness metrics to advertisers.
trueAnthem
trueAnthem
Audience analytics and research platform used by broadcasters and publishers. Scripts fire on publisher sites to collect behavioral and demographic data for audience research panels and cross-media measurement studies.
whos.amung.us
whos.amung.us
Ping website monitoring service used to measure real user performance. The whos.amung.us script provides a live visitor counter widget that shows how many people are currently on a page. Sets a session cookie to count unique concurrent visitors.

Manage consent for Treasure Data

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