...
Code Block | ||
---|---|---|
| ||
{ "duplicate_signup": false, "email": "email@14west.us", "email_active": true, "event": "marketing_email_subscribe", "list_code": "OPTMSUN", "site": "banyanhillpublishing.com", "source_code": "X190Y702", "sua_event_id": "96b5bfe9-67ae-497d-84eb-d8e141f6ff12", "campaign_code": "XXX123", --Used in refacored accounts "iris_campaign_name": "XXX456" --Used in refacored accounts } |
Unsubs
In order for SUA2 unsubscribes to currently work, an advantage customer number must be present in the vid2 value but the marketing_email_subscribe event does not include it. As a workaround you can replace the vid2 value with the following:
Code Block |
---|
{{ "000000000000" | append: '@@' | append: user_transaction.list_code | append: list_code | append: item_code | append: user_transaction.item_code | append:item_number | append: '@@' | append: user.email | aes256_encrypt_v2: '50655368566D597133743677397A24432646294A404E635266546A576E5A7234', '472B4B6250655368566D597133743677' }} |
...
We are hardcoding a dummy advantage customer number which allows the unsubscribe to process. We will look to enhance this process so the default vid2 value can be used for event triggered emails.
...
Tip |
---|
Wrap up |
Info |
---|
Still need help? We know this can be frustrating. To get further help open a Jira ticket. |
...