Skip to content

AshCoolman/angular-analytics-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analytics wrapper

What

Partial wrapper and convieniance attribute directives for any basic analytics platform that uses the following pattern :

  • applyScript()
  • track(eventName, eventData)
  • identify()

Usage

Directive:

<span analytics-track="{'name':'click', 'data':{'message': '(o_o)'}}">
    (-_-)
</span>

Next steps

  1. More docs :)