Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

Mouseflow Destination


Destination Info
  • Accepts Page, Identify and Track calls.
  • Refer to it as Mouseflow in the Integrations object
Connection Modes
Device-modeCloud-mode
Web Web
Mobile Mobile
Server Server

Mouseflow(link takes you to an external page) is a session replay and heatmap tool that shows how visitors click, move, scroll, browse, and pay attention on websites. It helps clients simplify their analytics to make decisions that matter. The analytics.js Mouseflow Destination is open-source. You can browse the code on GitHub(link takes you to an external page)s.


Getting Started

getting-started page anchor
  1. From the Segment web app, click Catalog.
  2. Search for "Mouseflow" in the Catalog, select it, and choose which of your sources to connect the destination to.
  3. In the destination settings, enter your Site ID within the Segment Settings UI. You can find this in your Mouseflow UI(link takes you to an external page).

Your changes appear in the Segment CDN in about 45 minutes, and then Analytics.js starts asynchronously loading the Mouseflow snippet on your page and sending data.


If you're not familiar with the Segment Specs, take a look to understand what the Page method does. An example call would look like:

analytics.page()

An initial page call is required for data to be sent to Mouseflow using Analytics.js and sends a page view. This is included by default in your Segment snippet.


If you're not familiar with the Segment Specs, take a look to understand what the Identify method does. An example call would look like:

1
analytics.identify('user1234', {
2
email: 'petergibbon@email.com',
3
firstname: 'Peter',
4
lastname: 'Gibbon'
5
})

When you call Identify, the traits you set will be sent as custom variables to Mouseflow.


Segment lets you change these destination settings from the Segment app without having to touch any code.

Property nameTypeRequiredDescription
Site IDstring
required

Your Mouseflow site ID.


Mouseflow HTML Delaynumber

Optional

HTML Delay

Default: 0