Skip navigation
User Manual
Overview

Objects

Objects are the data that get dynamically inserted into emails or custom fields. They are usually (but not always) accompanied by a property called an “attribute” that defines the specific part of the data (see Attributes) that you want to retrieve for the object.

Objects in Liquid are formatted as follows: {{ object.attribute }}

Drip-specific objects are predefined objects that can be used in your email templates. They are accessible by clicking the “View Shortcode” dropdown in the “HTML” tab of your email editor.

Liquid Objects in Drip

Drip ECRM has a handful of predefined objects that hold data related to particular parts of Drip. The particular objects and details are as follows:

{{ snippets }}
A Drip-specific object that references custom user-created content in Drip’s Snippets Builder.

{{ subscriber }}
References an individual person within your database.

{{ campaign }}
References the campaign that the current email is a part of.

{{ broadcast }}
References the broadcast that the current email is a part of.

{{ email }}
References the current email.

{{ event }}
References a particular recorded action that a person has taken with Drip or third-party integration. Note, this object is only available for use in Rules.

{{ event.order }}
References the current order completed on your online store or sent in through the Rest API. Must be referenced after the event object.

{{ now }}
Returns the current time and date in GMT. (This object has no attributes.)

People Profile Fields

Use these Liquid shortcodes to insert information about the individual person receiving a particular email.

{{ subscriber.first_name }}
Returns the person’s first name.

{{ subscriber.last_name }}
Returns the person’s last name.

{{ subscriber.phone }}
Returns the person’s phone number.

{{ subscriber.address1 }}
Returns the person’s mailing address.

{{ subscriber.address2 }}
Returns an additional field for the subscribers's mailing address.

{{ subscriber.city }}
Returns the city, town, or village in which the person resides.

{{ subscriber.state}}
Returns the region in which the subscriber resides. Typically a province, a state, or a prefecture.

{{ subscriber.zip }}
Returns the postal code in which the person resides, also known as zip, postcode, Eircode, etc.

{{ subscriber.country }}
Returns the country in which the person resides.

{{ subscriber.created_at }}
Returns the time at which the person was created in Drip, via signup or import.

{{ subscriber.email }}
Returns the person's email address.

{{ subscriber.lead_score }}
Returns the person's lead score, if lead scoring is enabled.

{{ subscriber.friendly_time_zone }}
Returns the person's time zone: EDT, CDT, etc.

Email Fields

Use these Liquid shortcodes to insert Object metadata related to a particular email.

{{ campaign.name }}
Returns the name of the current email campaign.

{{ campaign.next_email_send_at }}
Returns the timing for the next email to be sent in a campaign.

{{ from_name }}
Returns the sender name associated with the email.

{{ from_email }}
Returns the email address associated with the email.

{{ postal_address }}
Returns the postal address associated with the email.

{{ inline_postal_address }}
Returns the unformatted postal address associated with the email.

{{ html_postal_address }}
Returns the HTML formatted postal address associated with the email.

{{ view_in_browser_url }}
Returns the raw Drip-generated URL to view the email online.

{{ view_in_browser_link }}
Returns the HTML formatted link with the copy “View in browser” linked to the Drip-generated URL.

{{ confirmation_url }}
Returns the raw Drip-generated URL to confirm opt-ins.

{{ confirmation_link }}
Returns the HTML formatted link with the copy “Confirm subscription” linked to the Drip-generated confirmation URL.

{{ unsubscribe_url }}
Returns the raw Drip-generated URL to unsubscribe a contact.

{{ unsubscribe_link }}
Returns the HTML formatted link with the copy “Unsubscribe” linked to the Drip-generated unsubscribe URL.

{{ manage_subscriptions_url }}
Returns the raw Drip-generated URL with the person's current campaign subscriptions.

{{ manage_subscriptions_link }}
Returns the HTML formatted link with the copy “Manage subscriptions” linked to the Drip-generated URL with the person's current campaign subscription.

x A mockup of the cover of the Holiday Ebook

Free Guide to Black Friday & Cyber Monday

Ready to rethink Black Friday? Focus on long-term loyalty, not just short-term sales. Grab our free guide full of whys and hows for this holiday season.

Get my copy