Mouseflow

Mouseflow

Mouseflow records session replays, generates heatmaps, and tracks form analytics for web optimization teams. The Mouseflow script captures all mouse movements, clicks, scrolls, and keystrokes (excluding sensitive fields) and uploads sessions to Mouseflow's cloud platform.

Overview

Mouseflow is a behavioral analytics platform that records session replays, generates heatmaps, and provides form analytics for web optimization and UX research teams. It captures detailed user interaction data — mouse movements, clicks, scroll depth, and form interactions — and uploads this to Mouseflow's cloud platform where teams can watch video-like session replays and analyze aggregated heatmaps. Mouseflow is used by e-commerce, SaaS, and media companies to diagnose conversion funnel drop-offs, identify UX friction, and validate design changes. The platform processes significant volumes of behavioral data per session, making it one of the more privacy-sensitive analytics tools.

What This Script Does

The Mouseflow script (cdn.mouseflow.com/projects/<project-id>.js) loads asynchronously and begins capturing user interaction data from the moment it initializes.

Data capture mechanisms:

  • DOM snapshots: Mouseflow captures periodic DOM snapshots that reconstruct page appearance during replay, including dynamically loaded content
  • Mouse tracking: All cursor coordinates are recorded at high frequency throughout the session, enabling movement heatmaps and replay visualization
  • Click recording: Every click event is recorded with element target, coordinates, and timestamp
  • Scroll depth: Continuous scroll position tracking enables scroll heatmaps showing how far users read
  • Keystroke capture: Text input is recorded in form fields by default; sensitive fields (passwords, credit card numbers) are excluded via automatic detection and configurable rules. All other text input (search queries, form answers) is captured unless explicitly masked.
  • Rage clicks and error clicks: Automatically flagged for UX issue detection

Cookies set:

  • mf_<project-id> — first-party persistent cookie, typically 1-year expiry, stores Mouseflow's unique visitor and session identifiers
  • mf_user — links sessions from returning visitors to build longitudinal behavior profiles
  • Session-scoped cookies for active recording state management

Data transmitted:

  • Interaction event stream (mouse coordinates, click targets, scroll positions) uploaded continuously during the session to mouseflow.com recording endpoints
  • Page URL, referrer, viewport dimensions, device type, and browser version
  • Session duration, page count, and engagement metrics
  • Form interaction data: fields visited, time spent per field, hesitation patterns, and abandonment points

Privacy controls available to site operators:

  • Field masking for sensitive inputs (data-mf-ignore attribute)
  • Page-level recording suppression
  • Sampling rate configuration to record only a percentage of sessions
  • IP anonymization option

Consent & Compliance

Mouseflow falls under the analytics consent category and represents one of the higher-sensitivity analytics tools. Session replay captures extensive behavioral data — the visual reconstruction of what a user did on the page, including keystrokes in unmasked fields — which constitutes personal data under GDPR because it is tied to identifiable visitors via persistent cookies and IP addresses.

Under GDPR and ePrivacy, Mouseflow requires explicit opt-in consent. The persistent visitor identifier cookie is non-essential, and the processing of detailed behavioral data (interaction patterns, form behavior, text input) goes far beyond what is necessary for website operation. Several European DPAs have scrutinized session replay tools; the Irish DPC and CNIL have indicated that session recording requires valid consent. Mouseflow itself recommends obtaining consent before activating recording for EU visitors.

Under CCPA/CPRA, this level of behavioral monitoring constitutes "sensitive personal information" collection (given keystroke recording) and requires disclosure and opt-out rights. Mouseflow is headquartered in Copenhagen; EU data is processed within the EU, with an option to restrict data to EU-only servers.

Should You Block This Without Consent?

Yes. Session replay and keystroke recording capture extensive personal behavioral data including interaction patterns and form text input. Block Mouseflow until the user provides explicit analytics consent. Do not rely on legitimate interest as a lawful basis for session replay recording.

Is Mouseflow GDPR compliant?

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

Visit website

Consent Categories

Also Known As

Mouseflowsession replayheatmap toolMouseflow scriptvisitor recording

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (3)

mouseflow.comAnalytics

mouseflow.com is an analytics domain operated by Mouseflow, used to measure visits, sessions, and on-site behavior.

cdn.mouseflow.comAnalytics

cdn.mouseflow.com is an analytics domain operated by Mouseflow, used to measure visits, sessions, and on-site behavior.

o2.mouseflow.comAnalytics

o2.mouseflow.com is an analytics domain operated by Mouseflow, used to measure visits, sessions, and on-site behavior.

Cookies Mouseflow Sets (1)

mf_user

Mouseflow visitor identifier for session replay.

Frequently Asked Questions

Related Vendors

Sailthru
Sailthru
Sailthru is a cross-channel marketing automation platform for personalized email and web experiences. Scripts collect behavioral data such as page views and content interactions, delivering personalized content recommendations and targeted messaging based on individual user profiles.
ShipStation
ShipStation
ShipStation is an e-commerce shipping and order fulfillment management platform. It operates primarily as a backend service; order tracking page embeds may appear on retailer websites, allowing customers to look up shipment status using their order details.
Pluralsight
Pluralsight
Pluralsight is a technology skills and online learning platform. Course preview widgets and content embeds may appear on partner sites, while scripts track learner engagement and content interaction to support skills assessments and course recommendations.
6sense
6sense
6sense is an AI-powered B2B revenue intelligence platform. Scripts identify anonymous website visitors and match them to in-market buying accounts, providing intent signals and firmographic data to support targeted account-based marketing campaigns and sales outreach.
UserTesting
UserTesting
UserTesting is a human insights and UX research platform. Scripts embed participant-facing usability tests, intercept surveys, and task-based studies on websites, capturing user behavior, screen recordings, and feedback to support product research and usability evaluation.
Clearbit
Clearbit
Clearbit is a B2B data enrichment and intent data platform. Scripts identify anonymous website visitors by company and industry, enabling real-time lead enrichment and website personalization based on firmographic data without requiring explicit visitor identification.

Manage consent for Mouseflow

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