Forum Discussion
Linking to the new Preference Center
Hey Community,
I'm currently looking into implementing a new Preference Center in our Emails which are adapted based on the Country where the user lives. Currently all new Preference centers are launched but I am having trouble adding these to the email. A simple copy of the liquid code does not result in the preference center showing up in the Email. I have followed all the steps from the https://www.braze.com/docs/user_guide/message_building_by_channel/email/preference_center/dnd_preference_center/#step-5-customize-your-confirmation-page. Is there maybe something I am missing?
- E_FinnCollaborator
Two things that came up when I was doing this,
- Put it in a link, the pref center liquid should replace the url portion of a link.
- The pref center links only work on actual sent emails, not test emails.
- Manoj__Visionary
RogierAY88Try something like this:
{% if ${country} == "US" %}
{{preference_center.US_Pref}}
{% elsif ${country} == "UK" %}
{{preference_center.UK_Pref}}
{% else %}
{{preference_center.default}}
{% endif %} - AllanHeoFNMVisionary
Hi RogierAY88 ! Would you be able to share a screenshot of how you tried implementing the Preference Center Liquid?
If you're trying to show a dynamic Preference Center based on Country, you'll need some Conditionals as well. We've actually never tried this, so we're curious what your setup looks like!
Related Content
- 3 years ago
- 13 days ago
- 7 months ago
- 4 months ago