1.1.11 • Published 1 year ago

audit-it v1.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago