An open API service indexing awesome lists of open source software.

https://github.com/terrymooreii/angular-new-relic-insights

Angular directive to log custom events to New Relic Browser Insights
https://github.com/terrymooreii/angular-new-relic-insights

Last synced: about 1 year ago
JSON representation

Angular directive to log custom events to New Relic Browser Insights

Awesome Lists containing this project

README

          

angular-new-relic-insights
============================

An AngularJS directive to log custom events to New Relic Insights

This has not been tested yet!!!!!!!!

Assumes that you have already configured your site for New Relic and have access to the New Relic Browser Insights.

Module
--------

```javascript
angular.module('app', ['angular-new-relic-insights'])

```

Usage
---------

```html
Click Me
```

Attributes
---------------

Attributes | Description
-----|----
nr-insights | {string} *Required* Action Name. Place this on any element to log the action event to New Relic Insights
action-event | {string} *Required* Any JavaScript event handle (ex. click, touch, mouseover, mousein, etc)
action-data | {object} Any scope data object.