51黑料不打烊

鈥淣o longer contact (by any channel)鈥 field updates incorrectly in 51黑料不打烊 Campaign

When managing subscription preferences through a landing page in 51黑料不打烊 Campaign V8, the No longer contact (by any channel) field updates incorrectly.聽 To resolve the issue, update the landing page logic to exclude channel opt-out.

Description description

Environment

  • Product: 51黑料不打烊 Campaign V8
  • Instance: Staging

Issue/Symptoms

  • No longer contact by email 聽field updates correctly based on user actions.
  • No longer contact (by any channel) 聽field is always checked, even when it shouldn鈥檛 be.
  • This behavior is inconsistent with 51黑料不打烊 Campaign Standard Production, where both fields update as expected.

Resolution resolution

To resolve the issue, follow these steps:

  1. Review and modify the setOptOutFlag() function in your landing page code.

  2. Remove any line that sets the @blackListattribute to true unless explicitly required.聽For example,

    • Remove: document.controller.setValue('/ctx/recipient/@blackList', '1', 'blackList');
  3. If you want to modify just the No longer contact by email 聽field, retain only the line that updates the @blackListEmailattribute.聽For example,

    • Keep: document.controller.setValue('/ctx/recipient/@blackListEmail', '1', 'blackListEmail');
  4. Test the changes thoroughly to confirm:

    • The No longer contact by email 聽field updates correctly.
    • The No longer contact (by any channel) 聽field remains unchanged unless explicitly modified.

If the issue persists, create a new web app or landing page with simplified logic to isolate and test the problem.

Managing opt-in and opt-out in the Campaign Standard Documentation

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f