Preferences for developers

Preferences are a feature that allows members to change their subscription by using opt-in or opt-out for specific content. The advantage for members in Rule is that they will not be completely unsubscribed from all mailings, but will remain active and will not receive the content they have unsubscribed from.


We will go through:


  1. Approach
  2. Custom URL


Approach


Preferences are activated by Rule, read more about how to get started here!


Members who have not selected any preferences will be set to default opt-out. Default opt-in can be updated in the admin view for preferences.



Preferences are assigned to specific content in Journey Builder. When preferences are active and members who match the preference click on the unsubscribe link in the email, they will be directed to the "Update your preferences" page of Rule.




As an optional, advanced feature, it is possible to create multiple preference groups in the admin view for preferences. This feature can, for example, be used when a Rule account manages multiple brands.


Custom URL


There is the option to set up a custom preference page if you do not want to use the one already created by Rule.



The custom URL for the domain is added in the admin view for preferences, and then a script will be available to be added to the Rule customer's website. When preferences are active and members who match the preferences click on the unsubscribe link in the email, they will be directed to their own preference page. Developers have the option to make their own changes to the script by modifying the CSS styling and updating text strings for the UI. Note that the JavaScript code must not be altered in any way.The script dynamically loads preferences from Rule's backend. It is possible to uniquely identify preferences based on their name, inside the <label> tag. This means that a developer can add more content, such as an image or description, for each preference. An example of dynamic code from Rule's backend:<ul>



<li id="preference-id-RRRRRE">


    <label>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Other ways to get help

Sign up for our next training

Free

Become an expert in Rule and discover the power of all the functions in the platform. We guide you step-by-step!

Contact us to book a Workshop

Discover how you can increase digital engagement and growth in a personal review of Rule

Couldn’t find what you needed?

No worries, feel free to reach out to our support about any queries!

Sign up to our newsletter!

I agree to receive Rules newsletter in accordance with the privacypolicy.