You may find yourself in a scenario where you want to skip/suppress a message for a person based on some logic in the content itself. This tag allows you to do so.
{% skip_message message:"<user defined message>" %}
All message skips caused by this liquid tag will be recorded as a Message Skipped event in the person’s journey with:
reason = custom_skip
reason_detail = <user defined message>
Code snippets that can be included on top or within the personalization logic of any message serve as a good example.
Applications
Skip if there is no data in the external feed:
{% if ext_feed == empty %} {% skip_message message:"No data in feed"}
Skip if a person received a message within the last 2 days: