System values

Apart from profile data, Engage also recognizes multiple system values. These predefined values are useful when the final message is generated.

System values are inserted in the same way as profile data. Position the cursor at the desired position and open the Personalization dialog. All available system values are listed:

 

Message related values

MESSAGE.SUBJECT — The subject of the message

MESSAGE.PREHEADER — The preheader content, potentially conditional

MESSAGE.LANGUAGE — The language of the current message

 

InWebContext() (Viewing message in web-browser) — is true or false. To show (part of) the message in the email client only, or also in the web-browser.

HTML source code examples for manual usage :
- for one block of text content : <sg:content id="content-4" expression="all(ne(tobool(InWebContext()),tobool('true')))" /> => this will not show this text when viewing in the web browser
- for the entire message : <sg:conditional expression="all(ne(tobool(InWebContext()),tobool('false')))" /> => this will show the message when viewing in the web browser

 

System related values

sysdate — The current date and time returned by the server

dataError() — This could be for example (part of) the error returned by a Validation Component in a Custom Journey

 

The following Campaign-like system values are not available in the Personalization Dialog, but can also be used in Marigold Engage through manual entering:
- [%webAnalyticsTag('campaign')%] — equal to CAMPAIGN.TAG in Campaign
- [%webAnalyticsTag('link')%] — equal to PROBE.TAG in Campaign
- LINKID — equal to PROBEID in Campaign

Note that the following Campaign concepts do not exist in Marigold Engage and can therefore not be used :
- CAMPAIGN.CATEGORY
- SYSTEM.CAMPAIGNNAME —. For analytics purposes (including reporting), the webAnalyticsTag-expression [%webAnalyticsTag('campaign')%] should be used (see above).
- PROBE.NAME — For analytics purposes (including reporting), the webAnalyticsTag-expression [%webAnalyticsTag('link')%] should be used (see above).
- SEGMENTATION.EMAIL_HASH
- CAMPAIGNID and MAILID