File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,12 @@ jquery-analytics-event-tracking
3
3
4
4
JQuery plugin for Event Tracking based on Universal Analytics (analytics.js)
5
5
6
- ** IN PROGRESS**
6
+ *** ! UNDER DEVELOPMENT !***
7
+
8
+ NOTICE
9
+ ------
10
+
11
+ Only works with the new Analytics code: Universal Analytics (analytics.js)***
7
12
8
13
Usage
9
14
-----
@@ -25,6 +30,18 @@ To use events other than the 'click' event, extend the `.track` with one of the
25
30
* -blur ` .track-blur ` - tracks event on blur
26
31
* -mouseover ` .track-mouseover ` - tracks event on mouseover
27
32
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
+
28
45
Example
29
46
-------
30
47
You can’t perform that action at this time.
0 commit comments