utm_tracker 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/utm_tracker/helper.rb +1 -1
- data/lib/utm_tracker/matcher.rb +5 -5
- data/lib/utm_tracker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b29d0df59656a7d9f2c1f442d1ae3ef820499aaf92b74ad7da6d4a906987664
|
|
4
|
+
data.tar.gz: 106f0530fa2cbec9e0b30f391cb9a43c8d600da5e44be20a2dcda38c26e4435e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb6d771863180ddc223d5bc591788f2d049c9a3867200f9cd0717982ab7a081e45d257b480f79ba1e01a8d82d40ac106bc0fc93f5443f1dab7941ad1a5559b66
|
|
7
|
+
data.tar.gz: f80754d3183e2545bcfefcaad157d1fa13d734db8511436f04075ad07194407786836fa5c806e2de40d6addf373152e0c6a699f10177c4b3ad91aa3cc553fb13
|
data/Gemfile.lock
CHANGED
data/lib/utm_tracker/helper.rb
CHANGED
data/lib/utm_tracker/matcher.rb
CHANGED
|
@@ -20,23 +20,23 @@ module UtmTracker
|
|
|
20
20
|
private
|
|
21
21
|
|
|
22
22
|
def utm_source
|
|
23
|
-
utm[:utm_source] = utm_data[
|
|
23
|
+
utm[:utm_source] = utm_data[:source] if utm_data[:source]
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
def utm_content
|
|
27
|
-
utm[:utm_content] = utm_data[
|
|
27
|
+
utm[:utm_content] = utm_data[:content] if utm_data[:content]
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def utm_medium
|
|
31
|
-
utm[:utm_medium] = utm_data[
|
|
31
|
+
utm[:utm_medium] = utm_data[:medium] if utm_data[:medium]
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def utm_campaign
|
|
35
|
-
utm[:utm_campaign] = utm_data[
|
|
35
|
+
utm[:utm_campaign] = utm_data[:campaign] if utm_data[:campaign]
|
|
36
36
|
end
|
|
37
37
|
|
|
38
38
|
def utm_term
|
|
39
|
-
utm[:utm_term] = utm_data[
|
|
39
|
+
utm[:utm_term] = utm_data[:term] if utm_data[:term]
|
|
40
40
|
end
|
|
41
41
|
end
|
|
42
42
|
end
|
data/lib/utm_tracker/version.rb
CHANGED