plataforma_social 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ module PlataformaSocial
36
36
  def load_user_data options = {}
37
37
  settings = {
38
38
  referral_code: params[:gm_referral_code],
39
- source: params[:source],
39
+ source: params[:utm_source],
40
40
  referrer: request.referer,
41
41
  signed_request: params[:signed_request]
42
42
  }.merge options
@@ -73,7 +73,7 @@ module PlataformaSocial
73
73
  uri = URI.parse(PlataformaSocial.facebook_callback_url.to_s)
74
74
 
75
75
  callback_url = if uri && uri.scheme.present?
76
- uri.query = [uri.query, "gm_referral_code=#{params[:gm_referral_code]}", "source=#{params[:source]}"].compact.join('&')
76
+ uri.query = [uri.query, "gm_referral_code=#{params[:gm_referral_code]}", "source=#{params[:utm_source]}"].compact.join('&')
77
77
  uri.to_s
78
78
  else
79
79
  nil
@@ -1,3 +1,3 @@
1
1
  module PlataformaSocial
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plataforma_social
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: