Developer preferences
Preferences is a feature that allows members to change their subscription by using opt-in or opt-out for specific content. The advantage for members of Rule is that you are not deregistered from all mailings completely, but the member remains active but will not receive the content from which you have unsubscribed.
Get started
Preferences are activated by Rule, learn more about getting started här
Members who have no preference selected are the default opt-out. The default opt-in can be updated in the preference admin view.
Preferences are assigned specific content in Journey Builder. When preferences are active and members matching the preference click on the unsubscribe link in the email, they will see the "Update your preferences" page of Rule.
As an elective, advanced feature, it is possible to create up several preference groups, in the preference admin view. For example, this feature can be used when a Rule account manages multiple trademarks.
Custom URL
It is possible to set up your own preference page, if you do not want to use the one already created by Rule
The custom URL for the domain is added to the preference admin view, after which a script becomes available to be added to the Rule customer's website. When preferences are active and the members matching the preferences click on the link unsubscribe in the email, it will see its own preference page. Developers can make their own changes to the script by modifying the css styling and updating UI text strings. NOTE The Javascript code must NOT be changed in any way.
Skriptet laddar in preferenser dynamiskt från Rule's backend. Det finns möjlighet att unikt identifiera preferenser baserat på deras namn, inuti <label>. Med detta menas att en utvecklare kan lägga till mer innehåll i form av en bild eller beskrivning per preferens. Exempel på dynamisk kod från Rule's backend:
<ul><li id="preference-id-RRRRRE"><label><span><input type="checkbox" id="preference-checkbox-RRRRRE" checked="checked"><span></span></span>Weekly News</label></li><li id="preference-id-RRRRRL"><label><span><input type="checkbox" id="preference-checkbox-RRRRRL"><span></span></span>Local News</label></li></ul>