Skip to content

Dataset

Clickstream datasets of web and product events for AI training

A clickstream dataset is an event-level log from a company's own website or application: page and screen views, named product events with their properties, session boundaries, and pseudonymous user and account identifiers that let funnels and retention be rebuilt. SourceX sources these logs to a buyer's spec from established businesses that keep them in an analytics tool or data warehouse, together with the tracking plan that defines each event and, where agreed, keys that join sessions to purchases, upgrades or cancellations. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Event-level logs from a first-party site or app, with the tracking plan and keys to business outcomes
Typical systems
Google Analytics 4 exports, Segment, Amplitude, Mixpanel, Snowplow, Heap, PostHog, warehouse event tables
Typical history
Specified by the buyer; limited by tool retention settings and by migrations between analytics tools
Modality
Structured event rows with nested properties; short free text in search terms, page titles and URLs
Delivery formats
Agreed per order; typically Parquet or JSONL partitioned by date, with the event dictionary as JSON or CSV
Preparation
Identifiers replaced with keyed pseudonyms; IP addresses removed; URLs, titles and free-text properties screened
Licensing
Rights reviewed against the consent basis and privacy notice the events were collected under; permitted use set in the license
Availability
Sourced to your spec; supply is not guaranteed and outcome joins depend on the company's identifiers
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
event_idstringUnique key for the event, taken from the tool's own message or insert ID so duplicates can be removed.
event_namestringThe name as sent at the time, such as page_view or checkout_started, before any later renaming.
timestampsobjectClient time, send time and server receipt time, which differ when a device is offline or its clock is wrong.
user_keystringKeyed pseudonym for the signed-in user, stable across sessions and devices.
anonymous_keystringPseudonym for the cookie or device identifier used before sign-in, linked to the user key where the tool made that link.
account_keystringPseudonym for the workspace or company account in business products, where many users share one outcome.
session_keystringSession identifier as the tool assigned it, with the rule that defines a session stated in the manifest.
platformobjectWeb, iOS, Android or server source, with the tracking library and the app release that sent the event.
propertiesobjectEvent properties as sent, with their types intact and free-text values screened.
pageobjectURL path with identifiers templated out, referrer domain, screened title and campaign parameters.
consentobjectThe consent state recorded with the event, where the tool stores one.
schema_refobjectThe tracking-plan version and event definition in force, any earlier name, and whether the event passed validation.
outcome_refsobjectKeys that join the event to the order, subscription or billing record named in the buyer's spec.
quality_flagsarrayBot, internal-traffic, duplicate and late-arrival markers.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "event_id": "msg_9b3e7d10c4",
  "event_name": "checkout_started",
  "timestamps": { "client": "2024-02-14T21:07:52.114Z", "sent": "2024-02-14T21:07:52.380Z",
                  "received": "2024-02-14T21:07:53.006Z" },
  "user_key": "usr_a18f44",
  "anonymous_key": "anon_5c20e9",
  "account_key": "acct_07d2",
  "session_key": "sess_e41b77",
  "platform": { "source": "web", "library": "browser_sdk", "app_release": "2024.02.2" },
  "properties": { "plan": "team", "billing_period": "annual", "seats": 12,
                  "entry_point": "usage_limit_banner" },
  "page": { "path": "/workspaces/{id}/billing/checkout", "referrer_domain": null, "title": "Checkout",
            "campaign": { "source": "lifecycle_email", "medium": "email" } },
  "consent": { "analytics": "granted" },
  "schema_ref": { "plan_version": "tp_v41", "event_def": "checkout_started",
                  "replaces": "Upgrade Flow Opened", "valid": true },
  "outcome_refs": { "billing_account_key": "bill_07d2", "subscription_key": "sub_3f9a1c" },
  "quality_flags": []
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Predict conversion and churn

Sessions joined to purchases, upgrades or cancellations from the system of record give labeled sequences for propensity and retention models.

Train sequence models of behavior

Ordered events with properties and timing support next-action prediction, session embeddings and recommendation features.

Train analytics agents

An agent that answers funnel and retention questions needs a real event schema, with its renames and gaps, to learn to write correct queries.

Detect tracking breakage

Dated plan changes and the anomalies they caused are labeled examples for telling a broken tag from a real change in behavior.

Build evaluation sets

Hold back the outcome table and score predictions, or pose analysis questions whose answers are computed from the full log.

Use-case guides: Enterprise and computer-use agents, Private evaluation sets, Sales agents

What makes this data valuable

Dictionary with history

Every event and property has a definition and the dates it was added, renamed or retired.

Outcome join rate

A stated share of sessions links to a known user, and a stated share of outcomes links back to events.

Identity stitching

Anonymous and signed-in identifiers sit under one pseudonym scheme, with the tool's merge rule stated.

Deduplicated events

The tool's message or insert ID is kept so repeats from retries can be removed.

Server-side events

Key outcomes are also sent from the back end, which fills gaps that browser tracking leaves.

Traffic hygiene

Bots, internal users and test environments are flagged, not silently mixed in or dropped.

Record timeline

Clickstream dataset

This page covers web and product analytics events.Illustrative

The tracking plan and its history come with the events

An event stream does not describe itself. A row says that checkout_started fired with a property called plan. Nothing in the row says what triggers it, whether it fires on page load or on a button press, or which values plan can take. That knowledge lives in the tracking plan: the document, spreadsheet or schema registry where the team defines each event, its properties and their types. Segment has tracking plans in Protocols and flags live events that do not match the plan, Mixpanel keeps a data dictionary in Lexicon, and Snowplow validates each event against a JSON schema and keeps the ones that fail out of the main events table.

The plan changes constantly, and each change shows up in the stream as a break. A release renames Signup Completed to sign_up and the old name stops on a Tuesday. A price property switches from a string to a number. The iOS app sends a property the web app never did. A redesign removes a button and its event goes quiet with no deletion recorded anywhere, or a tag fires twice for three weeks until someone notices. Tools that capture clicks automatically, as PostHog's web library does by default, have their own version of the problem: each raw row is named after the element and its text, and the named events are definitions laid over those rows afterwards, which someone can edit later.

Without the dictionary and its change log, a model reads a rename as one behavior dying and another being born, and a double-fired event as a surge in engagement. Ask for the plan as it stood at each point in time, with the dates that events and properties were added, renamed or retired and a mapping from old names to new. Where no plan was kept, the minimum is a profile of first-seen and last-seen dates and observed types for every event and property, with the gaps explained.

Sessions need a join key to a business outcome

Events alone support description: funnels, paths, retention curves. Prediction needs a label, and the labels a business cares about, a purchase, an upgrade, a cancellation, a refund, are recorded in other systems. The analytics stream often has its own copy, such as a purchase event sent from the confirmation page. Browser events are lost to ad blockers, closed tabs and payment redirects that never return, so that count rarely matches the order system. The label should come from the system of record and be joined to the sessions.

The join depends on identifiers that are easy to lose. Before sign-in a visitor is a cookie or device ID. In a Google Analytics 4 BigQuery export that is user_pseudo_id, with the session ID carried as the ga_session_id event parameter and not as a column, and in Segment it is anonymousId until an identify call supplies a userId. Tools differ on whether earlier anonymous events are then merged into the known user. Billing and order systems know the customer by another ID altogether. If each dataset is pseudonymized separately the link is destroyed, so one keyed mapping has to cover events and outcomes before delivery.

Specify the join at the start of a request: which outcome, from which system, at which grain. In business software the outcome belongs to an account with many users, so events need an account key as well as a user key. Set the observation window so that events after the outcome, such as a visit to the cancellation page, cannot leak into the features. Then ask what share of sessions join to a known user, and what share of recorded outcomes have any events at all.

What to check before licensing

  • Have counsel confirm the consent basis the events were collected under, and whether the privacy notice in force at the time allows licensing them for AI training in each jurisdiction the users were in.
  • Ask how identifiers were replaced. Cookie IDs, device IDs, user IDs and IP addresses should be removed or mapped with a keyed hash, and the same mapping must cover any outcome tables.
  • Review free-text and URL fields on a sample. Site search terms, page titles, query strings and form values captured automatically can hold names, email addresses and tokens.
  • Request the tracking plan and its change log, then check a sample of renamed or retired events against the first-seen and last-seen dates in the data.
  • Reconcile one key outcome, such as purchases, between the event log and the system of record by month, and ask the supplying company to explain the gap.
  • Ask what happened to events from users who declined consent or opted out, and whether the tool sampled, filtered or modeled any of the data.
  • Check history limits: the tool's retention settings, when raw export to a warehouse began, and whether an earlier analytics tool holds older data in a different schema.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Is clickstream data personal data if it is pseudonymized?

Usually yes, under most privacy laws. Behavioral events tied to a persistent identifier usually remain personal data after names and emails are gone, because a long enough trail can single a person out. That is why the consent basis, the notice given at collection and the pseudonymization method all need review by your counsel before a license, and why IP addresses and free-text fields are removed or screened.

Does the data come with a tracking plan?

It should, and you can make it a requirement. The plan defines what each event means, when it fires and what its properties contain, and its change history explains renames and gaps. Some companies maintain one in a governance tool, others in a spreadsheet, and some have none. Where none exists, ask for a generated profile of every event and property with first-seen and last-seen dates.

Can events be joined to purchases or subscription outcomes?

Yes, where the supplying company can link analytics identifiers to its order or billing records. The link has to be made before pseudonymization, or with the same keyed mapping on both sides. State the outcome, the source system and the grain in your request. Expect incomplete coverage, since anonymous sessions that never signed in cannot be tied to a customer.

How far back does event history go?

It varies by tool and by when the company began exporting raw events. Analytics tools apply retention settings to event-level data, and a raw export to a warehouse usually starts on the day it was switched on. Google's move from Universal Analytics to Google Analytics 4 also changed the data model from sessions and hits to events, so older history, where it survives, has a different shape.

How are sessions defined?

By each tool's own rule, usually a period of inactivity that ends the session, and the timeout can often be changed in settings. The same raw events can therefore produce different session counts in two tools. A delivery should state the rule used and keep the raw timestamps, so you can rebuild sessions your own way. Mobile events may also arrive late, after a device reconnects.

How is this different from computer-use trajectories?

Analytics events are what a product's own instrumentation chose to record about many users, without screen content. A computer-use trajectory is a recording of one person completing a task, with video and every input. Events suit modeling behavior at scale and predicting outcomes. Trajectories suit teaching an agent to operate software. The two answer different questions and are sourced differently.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies