Skip to content

Commit d55adcd

Browse files
committed
Updated README.md (added options)
1 parent 1f74b42 commit d55adcd

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

Diff for: README.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ jquery-analytics-event-tracking
33

44
JQuery plugin for Event Tracking based on Universal Analytics (analytics.js)
55

6-
**IN PROGRESS**
6+
***! UNDER DEVELOPMENT !***
7+
8+
NOTICE
9+
------
10+
11+
Only works with the new Analytics code: Universal Analytics (analytics.js)***
712

813
Usage
914
-----
@@ -25,6 +30,18 @@ To use events other than the 'click' event, extend the `.track` with one of the
2530
* -blur `.track-blur` - tracks event on blur
2631
* -mouseover `.track-mouseover` - tracks event on mouseover
2732

33+
Dependencies
34+
------------
35+
36+
The plugin requires jQuery v1.7 (or higher). (HTML5 data attributes required)
37+
The plugin requires Google Analytics script with `ga' function. (analytics.js)
38+
39+
Options
40+
-------
41+
42+
* **selector** : The selector of the elements to track (default: '.track')
43+
* **default_category** : The default category, when not provided as `date-category="category-name"` (default: 'General')
44+
2845
Example
2946
-------
3047

0 commit comments

Comments
 (0)