affiliate_tracker 0.3.1 → 0.3.2
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/CHANGELOG.md +6 -0
- data/README.md +7 -1
- data/lib/affiliate_tracker/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f77c8678f07f9f70edf19f9905417324cb0a0ebd77dcd02947755f62e9d2eeb9
|
|
4
|
+
data.tar.gz: 70f0dd25c4e66f00c577369de89eb8a7cd32f738f1a7bfd28ce4b2b530340d4e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f4da737f648132084bdbcd05264aa572cdffb3b0985835e05cd2f50f9283b5fdbc21ff1c5a50602894b7403020330b31c0ef8fd50475ab1c71495b1f971e3232
|
|
7
|
+
data.tar.gz: 85f9175455026c3825398f0fee7e5049bb58d91a309d13860721e555c7b696b7240e780e6e6085be923f7989957c4d1ac41422220c4770beb0f22ac6224f662a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -32,11 +32,17 @@ Your email → User clicks → AffiliateTracker counts → Redirect with UTM →
|
|
|
32
32
|
Shop sees: utm_source=yourname
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
## Used in production
|
|
36
|
+
|
|
37
|
+
This gem powers affiliate link tracking on [Snipe Sale](https://snipe.sale) — a promotion aggregator for online shops. All outbound merchant links (web pages and email digests) go through AffiliateTracker to count clicks and append UTM parameters.
|
|
38
|
+
|
|
35
39
|
## Features
|
|
36
40
|
|
|
37
41
|
- Click tracking with metadata (shop, campaign, etc.)
|
|
38
42
|
- Automatic UTM parameter injection
|
|
43
|
+
- URL normalization (protocol-less URLs get `https://` prepended)
|
|
39
44
|
- Click deduplication (same IP + URL within 5s counted once)
|
|
45
|
+
- IPv4 and IPv6 IP anonymization (GDPR-friendly)
|
|
40
46
|
- Built-in dashboard
|
|
41
47
|
- Rails 8+ / zero configuration
|
|
42
48
|
|
|
@@ -49,7 +55,7 @@ gem "affiliate_tracker"
|
|
|
49
55
|
Or, for the latest development version:
|
|
50
56
|
|
|
51
57
|
```ruby
|
|
52
|
-
gem "affiliate_tracker", git: "https://github.com/justi
|
|
58
|
+
gem "affiliate_tracker", git: "https://github.com/justi/affiliate_tracker"
|
|
53
59
|
```
|
|
54
60
|
|
|
55
61
|
```bash
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: affiliate_tracker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justyna Wojtczak
|
|
@@ -103,13 +103,13 @@ files:
|
|
|
103
103
|
- lib/generators/affiliate_tracker/install/templates/README
|
|
104
104
|
- lib/generators/affiliate_tracker/install/templates/create_affiliate_tracker_clicks.rb.tt
|
|
105
105
|
- lib/generators/affiliate_tracker/install/templates/initializer.rb
|
|
106
|
-
homepage: https://github.com/justi
|
|
106
|
+
homepage: https://github.com/justi/affiliate_tracker
|
|
107
107
|
licenses:
|
|
108
108
|
- MIT
|
|
109
109
|
metadata:
|
|
110
|
-
homepage_uri: https://github.com/justi
|
|
111
|
-
source_code_uri: https://github.com/justi
|
|
112
|
-
changelog_uri: https://github.com/justi
|
|
110
|
+
homepage_uri: https://github.com/justi/affiliate_tracker
|
|
111
|
+
source_code_uri: https://github.com/justi/affiliate_tracker
|
|
112
|
+
changelog_uri: https://github.com/justi/affiliate_tracker/blob/main/CHANGELOG.md
|
|
113
113
|
rubygems_mfa_required: 'true'
|
|
114
114
|
rdoc_options: []
|
|
115
115
|
require_paths:
|