ga_events 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/LICENSE +1 -1
- data/README.md +1 -1
- data/app/assets/javascripts/ga_events.js.coffee +5 -2
- data/lib/ga_events/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ZGJlYTU3ZTExOGJmMTdlY2Q1Yzk2M2VjZDExMGNiMmYxMjg1OGExZDBmNWU4
|
10
|
-
OWJmNmJjNDZkYTk1YWI1NmY0ODFhMGFkZGIyNGIyYWU0NzVlNmE3YzM0YmEy
|
11
|
-
M2E3NjZiOTYxYzg2M2M3YjljNmNjMzExY2RjMmQ3MGMzOTBiMGQ=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YWE3ZTdkZGE3ZjkwNThhYjFhZjhhMDVjMDNjN2E5NzcyN2JhZDI2Yjg5MDA3
|
14
|
-
OTJmOTg0YWY5YzI4NjgxMTEzYTg1ODBkOTk1NWU1M2RmNmMxODU4ODUzOTU4
|
15
|
-
MjlkYTFjZmZkNWJlMzQ3MzBlOWI3YjllMzc3NThhZWVkYTZiYmE=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2127aed8e42aa7cdf0f703a92841a4a6a0392a7d
|
4
|
+
data.tar.gz: 35a89d2b3d7f419c3951b889bbc86ab627aee8ee
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 285032374bdfefe0dd823ace6fc89fbf8445eb167b3292f33212479d8a18f5fa2c1f39dfa7ee726bc5587ab668bf69fadc7a2e7e4eedf9fe0d9dc6225a3a9f2b
|
7
|
+
data.tar.gz: 42a0012e1810332cdc2629ea7b50f79b8bae36fb1ac8c754e62eef49a2e55075e8fb70d8a9f78da7ba8d9114f8e6ab87adeb3df5a55a2ee4714866bf5814a9a9
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -61,13 +61,16 @@ class GaEvents.GoogleTagManagerAdapter
|
|
61
61
|
window.dataLayer.push data
|
62
62
|
|
63
63
|
class GaEvents.GoogleUniversalAnalyticsAdapter
|
64
|
-
push: (h) ->
|
64
|
+
push: (h) ->
|
65
|
+
window.ga "send", "event", h.category, h.action, h.label, h.value,
|
66
|
+
{"nonInteraction": true}
|
65
67
|
|
66
68
|
class GaEvents.GoogleAnalyticsAdapter
|
67
69
|
# Send events non_interactive => no influence on bounce rates
|
68
70
|
push: (h) ->
|
69
71
|
window._gaq.push(
|
70
|
-
["_trackEvent", h.category, h.action, h.label, h.value, true]
|
72
|
+
["_trackEvent", h.category, h.action, h.label, h.value, true]
|
73
|
+
)
|
71
74
|
|
72
75
|
class GaEvents.NullAdapter
|
73
76
|
push: (obj) -> console.log obj if console?
|
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: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Dütsch
|
@@ -10,20 +10,20 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '3.1'
|
29
29
|
description: Google Analytics' Event Tracking everywhere in your Rails app
|
@@ -35,7 +35,7 @@ executables: []
|
|
35
35
|
extensions: []
|
36
36
|
extra_rdoc_files: []
|
37
37
|
files:
|
38
|
-
- .gitignore
|
38
|
+
- ".gitignore"
|
39
39
|
- Gemfile
|
40
40
|
- LICENSE
|
41
41
|
- README.md
|
@@ -58,17 +58,17 @@ require_paths:
|
|
58
58
|
- lib
|
59
59
|
required_ruby_version: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
requirements: []
|
70
70
|
rubyforge_project:
|
71
|
-
rubygems_version: 2.
|
71
|
+
rubygems_version: 2.2.2
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: This gem allows you to annotate events everywhere in the code of your Rails
|