Skip to main content

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 date for the account. Format: YYYTMMDD.

{{current_date}}

current_timestamp

This is the current unix epoch timestamp for the account in milliseconds.

{{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]


JavaScript errors detected

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

If this problem persists, please contact our support.