Skip to content

This is a Javascript Project that allows for dynamic/auto tracking and instrumentation of user actions on an Angular or React.JS app and ships the events to New Relic One for Dashboarding and Alerting.

License

Notifications You must be signed in to change notification settings

monitorjain/auto-javascript-interactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auto-javascript-interactions

This is a javascript project that enables auto tracking and collection of user actions and interactions and adds it to New Relic Browser Agent Service as dynamically collected analytics

Auto user actions library setup

The user actions library is stored in a secured S3 bucket at this location: https://auto-instrumentation.s3.amazonaws.com/auto-user.min.js

To add this library to your Angular or React Project, simply add the following to your project (Index.html in Angular or equivalent in React)

Screenshot

</body>
   <script type="text/javascript" src="https://auto-instrumentation.s3.amazonaws.com/auto-user.min.js">
   </script>
</html>

Once the library has been added as prescribed in the image above, simply exercise the Angular or React app to generate enough events.

Output

The auto instrumentation library current supports:

  • Scroll tracking X and Y axis
  • clicks on links and interactive elements
  • double clicks
  • Full screens and screen resizes
  • Keyboard events
  • Input actions

Bonus: You may also repurpose my code to use dashboard services and Observability databases other than New Relic One

Note: If you want to add more event tracking, simply fork the project or create an issue. You may also email me directly @ [email protected]

About

This is a Javascript Project that allows for dynamic/auto tracking and instrumentation of user actions on an Angular or React.JS app and ships the events to New Relic One for Dashboarding and Alerting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published