1.1.11 • Published 5 months ago

audit-it v1.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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.

  1. Insall on project:
npm instal audit-it
  1. 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

  1. 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);
}
.....

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.

1.1.1

5 months ago

1.1.9

5 months ago

1.1.8

5 months ago

1.1.7

5 months ago

1.1.6

5 months ago

1.1.5

5 months ago

1.1.4

5 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.1.11

5 months ago

1.1.10

5 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago