ga_events 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -1
- data/REVIEW +1 -1
- data/app/assets/javascripts/ga_events.js.coffee +3 -0
- data/lib/ga_events/version.rb +1 -1
- metadata +9 -4
data/README.md
CHANGED
@@ -42,7 +42,15 @@ If you are using Google Tag Manager you can add custom events which are then pas
|
|
42
42
|
GaEvents.Event.adapter = function() {
|
43
43
|
return new GaEvents.GoogleTagManagerAdapter("event_name"); // defaults to ga_event
|
44
44
|
}
|
45
|
-
|
45
|
+
```
|
46
|
+
|
47
|
+
If you are using a staging system you can use the `NullAdapter`.
|
48
|
+
|
49
|
+
```javascript
|
50
|
+
GaEvents.Event.adapter = function() {
|
51
|
+
return new GaEvents.NullAdapter();
|
52
|
+
}
|
53
|
+
```
|
46
54
|
|
47
55
|
## Usage
|
48
56
|
|
data/REVIEW
CHANGED
data/lib/ga_events/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ga_events
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-02-
|
14
|
+
date: 2013-02-04 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -65,15 +65,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
65
|
- - ! '>='
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
|
+
segments:
|
69
|
+
- 0
|
70
|
+
hash: 3054009368283231278
|
68
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
72
|
none: false
|
70
73
|
requirements:
|
71
74
|
- - ! '>='
|
72
75
|
- !ruby/object:Gem::Version
|
73
76
|
version: '0'
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
hash: 3054009368283231278
|
74
80
|
requirements: []
|
75
81
|
rubyforge_project:
|
76
|
-
rubygems_version: 1.8.
|
82
|
+
rubygems_version: 1.8.24
|
77
83
|
signing_key:
|
78
84
|
specification_version: 3
|
79
85
|
summary: This gem allows you to annotate events everywhere in the code of your Rails
|
@@ -83,4 +89,3 @@ summary: This gem allows you to annotate events everywhere in the code of your R
|
|
83
89
|
extracts this data on the client side and pushes it to Google Analytics via ga.js
|
84
90
|
or Google Tag Manager.
|
85
91
|
test_files: []
|
86
|
-
has_rdoc:
|