
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
react-mouseflow
Advanced tools
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?
FAQs
Simple package for integrating a mouseflow tracking snippet
The npm package react-mouseflow receives a total of 396 weekly downloads. As such, react-mouseflow popularity was classified as not popular.
We found that react-mouseflow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.