Closed deezone closed 9 years ago
Hey @DeeZone! Here's the current payload we're sending. Right now we're varying the payload based on whether or not a user is US... I'll be putting up a PR soon to vary that based on whether it's in our array of "cellular" countries (so the domestic payload will apply to US
, BR
, and MX
).
@DFurnes Updated issue description with details for your review.
Could default to en considering the CGG app is only English.
Agreed, we aren't translating the UI for Celebs Gone Good like we do in Phoenix, so it probably makes sense to still send all messaging in English to keep the experience consistent.
Updated payload seems good to me! Will let you know once the app is sending those along.
@DeeZone Should user_country
be the normalized user country (e.g. US
, BR
, MX
, or global
) or the actual country code stored on that user object?
@DeeZone Another Q! Should the opt-in path ID key be mobile_opt_in_path_id
or opt_in_path_id
? I see both in the examples. :grin:
@DFurnes
Should
user_country
be the normalized user country (e.g.US
,BR
,MX
, orglobal
) or the actual country code stored on that user object?
- The
user_country
can be the actual country code, no need for the value to be normalized.Should the opt-in path ID key be mobile_opt_in_path_id or opt_in_path_id? I see both in the examples.
- Opps, should be
mobile_opt_in_path_id
.
Thanks! Updated the PR.
Done, and deployed to both Cats Gone Good and Celebs Gone Good (although CGG is "closed" so not ideal for testing). Both share the same environment variables so should be identical for testing purposes.
What are the values currently being sent in the Message Broker transaction request? The values will need to be updated to support changes in the Message Broker system for changes in email and SMS.
Changes / updates / additions to the "first vote" transactional request payload:
Updated US Values Example:
Notes:
user_language" => "en"
: Based on logic in Drupal app -> https://github.com/DoSomething/phoenix/blob/dev/lib/modules/dosomething/dosomething_global/dosomething_global.module#L433-L450. See Issue https://github.com/DoSomething/voting-app/issues/282 for collection of broswer language. Could default toen
considering the CGG app is only English.email_template
: value hasuser_country
appended to the end.opt_in_path_id
, Mobile Commons ID (170071) for US users, mGage / Communicate Pro ID (TBD) for global usersmailchimp_list_id
, :f2fab1dfd4
"US users" /66fd18c5a9.
"BR users" /4f8e24d4f5
"MX users",8e7844f6dd
"Global users"mailchimp_grouping_id
andmailchimp_group_name
.Current Payload Example:
Related:
user_language
: https://github.com/DoSomething/voting-app/issues/282