urchin_tracking_module 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -6
- data/lib/urchin_tracking_module/version.rb +1 -1
- data/lib/urchin_tracking_module.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12a4d1f01e7e6f2947a5f090f486bcd6990786a1
|
4
|
+
data.tar.gz: 33f2c0689947ece4ccd411e593a2e8e227dd481d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82ff80641891da60919f0d7d0d784b987a518ed42d6c036771aa7c59a8cb3bd6bff142ef7c70973f06aa1cbf06d8c97bae49a26f42737e1d05236aec98e9f752
|
7
|
+
data.tar.gz: 8bda56a862b23e8a0ea0e56901ef6d49aef23f3cfbd15bcb0e9a712e790d5652b9386378881e3b67d0754c352995dd83e1098dd74b22d8be7c4959c10b2b3df3
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Add google analytics params to your URLs.
|
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
gem '
|
9
|
+
gem 'urchin_tracking_module'
|
10
10
|
|
11
11
|
And then execute:
|
12
12
|
|
@@ -14,11 +14,11 @@ And then execute:
|
|
14
14
|
|
15
15
|
Or install it yourself as:
|
16
16
|
|
17
|
-
$ gem install
|
17
|
+
$ gem install urchin_tracking_module
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
require '
|
21
|
+
require 'urchin_tracking_module'
|
22
22
|
|
23
23
|
UTM("http://example.com/#/welcome",
|
24
24
|
utm_source: "newsletter_de",
|
@@ -43,11 +43,11 @@ Your thought's/improvements are welcome :)
|
|
43
43
|
* remove dependency to Rails
|
44
44
|
* remove bonusbox specific `src` param or make this kind of
|
45
45
|
additions configurable.
|
46
|
-
* `
|
46
|
+
* `UrchinTrackingModule.configure {|c| c[:utm_source] => nil }` would generate
|
47
47
|
invalid params. It should pick up defaults instead.
|
48
|
-
* `
|
48
|
+
* `UrchinTrackingModule.configure {|c| c[:utm_source] => 'my_app' }` could have a
|
49
49
|
configuration object instead of a hash, to become
|
50
|
-
`
|
50
|
+
`UrchinTrackingModule.configure {|c| c.utm_source = 'my_app' }`
|
51
51
|
|
52
52
|
## Code status
|
53
53
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: urchin_tracking_module
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Riethmayer
|
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
81
|
rubyforge_project:
|
82
|
-
rubygems_version: 2.0.
|
82
|
+
rubygems_version: 2.0.0
|
83
83
|
signing_key:
|
84
84
|
specification_version: 4
|
85
85
|
summary: utm params for your URL.
|