ng-mixpanel
v1.0.1
Published
angular mixpanel directive
Readme
ngMixpanel
AngularJS Directive for Mixpanel
Functionality
- Sending events
Installation
bower install ng-mixpanel- download src/ng-mixpanel[.min].js
Usage
- include ng-mixpanel[.min].js in your index.html before your module definition
<script type="text/javascript" src="src/ng-mixpanel.min.js"></script>- add the ng-mixpanel module to your module/app dependencies
var myApp = angular.module('myApp', ['ngMixpanel']);Directives
mixpanel-event
Sending events
Usage
<a mixpanel-event="Click A" mixpanel-on="click">A</a>Attributes
- mixpanel-event (required)
- mixpanel-on (required)
