Mouseflow Help & Support

How do I push data into third-party tools?

Follow

With Mouseflow, it's easy to push data about a session into a third party tool.

The most common use-case is pushing a visitor's Mouseflow Session ID.

  1. From the third party tool, use its sorting/filtering capabilities to show session IDs that match specific criteria.
  2. From Mouseflow, copy/paste the session IDs to filter/sort the recording list.

Get the Mouseflow Session ID

You can find the session ID associated with a recording (while it's active) with this JavaScript code.

<script type="text/javascript">
$(window).load(function() { 
mouseflow.getSessionId();
});
</script>

This should return a 32-character, alphanumeric, string that represents the user's session ID. Once you have this ID, you can push it into another tool by following their established procedure.

To learn how to sort the recording list by a session ID, view this article.

Example

Google Analytics 

<script type="text/javascript">
$(window).load(function() {
_gaq.setCustomVar("MFSID", mouseflow.getSessionId());
});
</script>

 

Tags: push data third party tool filter sort recordings session id google analytics

Have more questions? Submit a request

Comments

Powered by Zendesk