You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/engage/content/email/template.md
+2-9Lines changed: 2 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -70,10 +70,8 @@ Engage supports dynamic sending using merge tags. Personalize email content by a
70
70
71
71
As you configure the template, click **Merge Tags** and select the profile traits to include. Engage inserts the merge tags based on cursor placement.
72
72
73
-
{% raw %}
74
-
75
73
> success ""
76
-
> - For all merge tags, you must add a `default` value inside a single quote. For example: `{{profile.traits.traits | default: 'Default'}}`
74
+
> - For all merge tags, you must add a `default` value inside a single quote. For example: {% raw %}`{{profile.traits.traits | default: 'Default'}}`{% endraw %}
77
75
> - Only use variable tags in [liquid sytax](https://liquidjs.com/tags/overview.html){:target="blank"}.
78
76
79
77
The following table contains a description and some best practices for all fields in the email template. Asterisks indicate required fields.
@@ -99,17 +97,12 @@ You can also add merge tags in the heading or body text as you design an email w
99
97
### Use liquid statements with an image URL
100
98
101
99
If you're using the [image content module](/docs/engage/content/email/editor/#add-content-modules) in the Drag and Drop Editor, you can't use liquid statements in the **Image URL** field.
102
-
{% raw %}
103
100
To use liquid statements with an image, Segment recommends using an [**HTML block**](/docs/engage/content/email/editor/#add-content-modules) with the following syntax: <br>
104
-
`<img src=“{{profile.traits.imageLink | default: '<insert your default URL here>'}}”`, where `profile.traits.imageLink` is an example profile trait representing personalized image links for each recipient.
105
-
106
-
{% endraw %}
101
+
{% raw %}`<img src=“{{profile.traits.imageLink | default: '<insert your default URL here>'}}”`{% endraw %}, where `profile.traits.imageLink` is an example profile trait representing personalized image links for each recipient.
107
102
108
103
> info ""
109
104
> To learn more about profile traits, visit Segment's [Computed Traits](/docs/unify/traits/computed-traits) and [SQL Traits](/docs/unify/traits/sql-traits/) documentation.
110
105
111
-
{% endraw %}
112
-
113
106
## Include unsubscribe and manage preference links
114
107
115
108
When you build an email template, you'll need to include links that your customers can access to unsubscribe and manage their email preferences. You'll find both in the **Special Links** dropdown menu of the **Insert/Edit link** window.
0 commit comments