Skip to main content
Skip table of contents

Objects

Here’s a list of all the system objects currently available to be used within content via a liquid script object tag:

System Object

Details

Code

uid

This is the user_id of the individual being mailed.

{{uid}}

recipient_email

This is the email address of the individual being mailed.

{{recipient_email}}

recipient_contact

This object contains the contact-level properties for the selected contact value.

  • contact_type

  • contact_value

  • subscription_status

  • inactivity_reason

  • created_at

  • updated_at

  • preferences

  • last_inactivity_updated_at

  • last_clicked

  • last_opened

  • last_sent

  • last_purchased

  • domain

  • is_scoped

  • signed_up_at

  • double_opt_in_status

  • country_code

  • area_code

  • timezone

  • geolocation

  • phone_type

account

This is an object containing relevant account level information. The available properties are listed to the right and can be populated using object notation.

  • account_key =  {{account.account_key}}

  • site_id=  {{account.site_id}}

  • content_site_id =  {{account.content_site_id}}

current_date

This is the current UTC date. Format: YYYYMMDD.

{{current_date}}

account_current_date

This is the current date for the account. Format: YYYYMMDD.

{{account_current_date}}

current_timestamp

This is the current unix epoch timestamp in milliseconds.

Note: Unix epoch timestamp is based on UTC by definition.

{{current_timestamp}}

account_current_timestamp

This is the current timestamp in milliseconds based on the account timezone configuration.

{{account_current_timestamp}}

campaign_name

This is the name of the campaign configured by the user during the campaign set-up.

{{campaign_name}}

campaign_token

This is the campaign token configured by the user during campaign set-up.

{{campaign_token}}

account_company_address

This is the address configured for the account in Settings and is commonly used to populate the mailing address used for CAN-SPAM compliance purposes.

{{account_company_address}}

unsubscribe_link

This is the system generated unsubscribe link.

{{unsubscribe_link}}

manage_preferences_link


{{manage_preferences_link}}

optin_link


{{optin_link}}

view_email_in_browser_link

This is the system generated link to view a copy of the message in a browser.

{{view_email_in_browser_link}}

images_path


{{images_path}}

message_uid

This is the unique ID for the specific copy of a message being sent to a user.

{{message_uid}}

nudgespot_message_id

This is the same as message_uid.

{{nudgespot_message_id}}

campaign (object)

This is an object containing relevant campaign-level information. The available properties are listed below and can be populated using object notation.

  • id=  {{campaign.id}}

  • name=  {{campaign.name}}

  • campaign_token=  {{campaign.campaign_token}}

  • campaign_type =  {{campaign.campaign_type}}

  • channel=  {{campaign.channel}}

  • recurrence_index=  {{campaign.recurrence_index}}

  • version name= {{version.name}}

  • version id= {{version.id}}

  • segment name= {{targeted_segment_name}}

  • segment id= {{targeted_segment_id}} [Not available in message previews]

The implementation of liquid "campaign.targeted_segment_name" is not supported. However, we do offer support for using a liquid with the segment ID, accessible through "campaign.targeted_segment_id". It's important to note that this liquid variable will only be functional during the actual campaign send, as audience evaluation takes place at that time. During campaign preview, this liquid variable won't work since the recipient generated for preview/proof is a mock version without specific details.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.