AUDIT IT
Open-Source Web Auditing Services
Audit-It is a lightweight and open-source web analytics system built on Express.js and Algolia. Easily monitor user clicks on configured pages and visualize events on a centralized dashboard. Installation is simple with npm, and configuration allows seamless integration with your Express.js application. Empower your analytics with Audit-It!
Features
Features
- Easy Installation: Get started quickly with npm install audit-it.
- Flexible Configuration: Customize tracking for specific pages using a simple configuration file.
- Centralized Dashboard: Monitor and analyze user events conveniently from a centralized dashboard.
- Community Contributions: Open to contributions and improvements from the community.
Getting Started
You need to Sign in to Audit Admin Dashboard and create pages and their curresponding events to record.
- Insall on project:
npm instal audit-it
- Import and call it Dom events:
import record from "audit-it"
const MyComponent = () => {
const handleTrigger = () => {
#pass the event name
record("user_read_desc");
}
return (
<Button onClick={handleTrigger} >click</Button>
);
}
if you are not passing the event, then user will be anonymous
andpage will take up from the current pathname
- Customize the event and page:
....
# changing the page name
const handleTrigger = () => {
# passing event and page
record("user_read_desc", "home_page");
}
# passing user info
const handleTrigger = () => {
record("user_read_desc", userData?.email);
}
.....
- For more information https://crosscodeblogs.netlify.app/blog/auditit
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Acknowledgments
- Hat tip to anyone whose code was used.
- Inspiration.
- etc.