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 identifiersmf_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.comrecording 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-ignoreattribute) - 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.
Consent Categories
Also Known As
Industries
Tracked Domains (3)
mouseflow.comAnalyticsmouseflow.com is an analytics domain operated by Mouseflow, used to measure visits, sessions, and on-site behavior.
cdn.mouseflow.comAnalyticscdn.mouseflow.com is an analytics domain operated by Mouseflow, used to measure visits, sessions, and on-site behavior.
o2.mouseflow.comAnalyticso2.mouseflow.com is an analytics domain operated by Mouseflow, used to measure visits, sessions, and on-site behavior.
Cookies Mouseflow Sets (1)
mf_userMouseflow visitor identifier for session replay.
Frequently Asked Questions
Related Vendors
Manage consent for Mouseflow
ConsentStack automatically detects and manages Mouseflow trackers so your site stays compliant with global privacy regulations.