ish_models 0.0.33.255 → 0.0.33.256

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ish/email_context.rb +6 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfe384f589610c6971200b16e7e611573f61eb750559b397cf424a67e54ad7e0
4
- data.tar.gz: 3b12ccdb43b9f83eb8e7422efb13a5bd688b9916348f6335b6394e89b6a189d1
3
+ metadata.gz: 2856a55a919a775f958c9f609db32bd0c4b0016e45bc61cd1f4b736301fea764
4
+ data.tar.gz: 4817e9e16269651c57c7f28d4346a6523e367fbc963ad3116265014c5634299e
5
5
  SHA512:
6
- metadata.gz: b752d52743f60fbe874767935afc97a45e80d551f784cce94768a2fecb7cebba84f44deaf4500d7c9952be26d38fdae3b3974f832e7a5efcc37df0211ddf87bd
7
- data.tar.gz: b4e1ad85ee6abb235799ff766b582523376568263d649fb3ac16ecdab2f3814639c43edc201c34e9e1c87c3a158ddaa7c118ddc998675960ccbe1b37a7870d3f
6
+ metadata.gz: aee0ab253e9e7dd35024d4250dc53289f54ce540052be6de8b115cd94b65d3f4c6ecbc23388e0c042946e78e869c58850977d1e848db08d683022f7ecfe27f88
7
+ data.tar.gz: af83cee19b99bf8c93fc9583e44075207ddd9ba1b3dd655211257c89ead59c5a5aa9e1b1a3e441ccbeefd0b24b2058aeb873e761b033850cb097f125d97a169d
@@ -88,6 +88,12 @@ class ::Ish::EmailContext
88
88
 
89
89
  def get_binding
90
90
  @lead = lead()
91
+ @utm_tracking_str = {
92
+ 'cid' => lead.id,
93
+ 'utm_campaign' => tmpl.slug,
94
+ 'utm_medium' => 'email',
95
+ 'utm_source' => tmpl.slug,
96
+ }.map { |k, v| "#{k}=#{v}" }.join("&")
91
97
  binding()
92
98
  end
93
99
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.255
4
+ version: 0.0.33.256
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox