New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-mouseflow

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-mouseflow

Simple package for integrating a mouseflow tracking snippet

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-94.77%
Maintainers
0
Weekly downloads
 
Created
Source

react-mouseflow

Implement the Mouseflow tracking snippet into your application

Installation

npm install react-mouseflow

Usage

import { mouseflow} from 'react-mouseflow';

mouseflow.initialize(mfid);

//Tag a recorded session
mouseflow.tag('tag', property);

// Add a variable to a recorded session
mouseflow.setVariable('setVariable', key, value);

// Update the current page path
mouseflow.newPageView('/my/page');

// Ensure Mouseflow is running before calling it's methods
if (Mouseflow .initialized()) {
  //your code here
}

mfid: Stands for Mouseflow Website ID. This is the ID which tells Mouseflow which project's recording script should be run. Where is my website id?

Keywords

FAQs

Package last updated on 12 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc