Malomo Variables Available in Attentive
See the lists below for the most common Malomo variables to add to your Attentive email and SMS messages.
Tracking Information Variables
INFORMATION | EXAMPLE OUTPUT | VARIABLE |
---|---|---|
Malomo Tracking Link | "Track Package" button |
|
Order ID | 05c3c01d-d526-4796-a9ec-b0ecb1f7cb83 |
|
Estimated Delivery Date | September 19, 2021, 9PM |
|
Actual Delivery Date | September 19, 2020 10 PM |
|
Carrier Name | FedEx |
|
Carrier Service | Ground Home Delivery |
|
Tracking Number | 99812911999333 |
|
Customer Information Variables
INFORMATION | EXAMPLE OUTPUT | VARIABLE |
---|---|---|
First Name | Mister |
|
Last Name | Rogers |
|
misterrogers@pbs.com |
| |
Phone Number | 123-456-7890 |
|
Shipping Address Information Variables
INFORMATION | EXAMPLE OUTPUT | VARIABLE |
---|---|---|
Ship First Name | Mister |
|
Ship Last Name | Rogers |
|
Ship Company | Malomo |
|
Ship Phone | 123-456-7890 |
|
Ship Address Line 1 | 123 Rogers Lane |
|
Ship Address Line 2 | Apt. 305 |
|
Ship City | Pittsburgh |
|
Ship Province | Pennsylvania |
|
Ship Province Code | PA |
|
Ship Zip | 46205 |
|
Ship Country Code | US |
|
Ship Country | United States |
|
Order Information Variables
INFORMATION | EXAMPLE OUTPUT | VARIABLE |
---|---|---|
Order Number | 1012 |
|
Order Name | #1012 |
|
Shopify Order Status URL |
| |
Order Created at Date | July 2, 2019 5:16 PM |
|
Total Discount | 0.00 |
|
Subtotal Price | 102.00 |
|
Tax Price | 7.14 |
|
Shipping Price | 2.13 |
|
Total Price | 109.14 |
|
Total Refunded | 56.76 |
|
How to link to the tracking page
To link customers to your custom tracking page, we recommend using the order_url
variable once you've set your Default Tracking Page URL in the Malomo dashboard. If you change your default tracking page later, the order_url
variable will automatically bring in the updated URL to notifications. Learn how to set the Default Tracking Page UR here.
If you have multiple tracking pages and wish to direct segments of customers to different pages, you can also build your tracking URL with the ‘order_id’ variable, such as this:
https://yourbrand.com/pages/order-tracking/?_m_id={{triggerEvent.custom['order_id']}}
How to Format a dynamic list to Create a Product Block and Show Line Items
Follow the steps below to create a dynamic list that will show all the items ordered or shipped:
In the drag and drop editor, drag the Dynamic List content block into your email template.
Click Add List.
Use the Choose Dynamic List drop down to select either
line_items
orfulfillment_line_items
and the click Next.To show all the items ordered, please use
line_items
. To show only the items packed in that shipment, please usefulfillment_line_items
.
Select your preferred layout for the product block.
Under the List Details section, click on Image.
Use the drop down to select the variable source. Hit Submit when finished.
Repeat these steps for additional text desired on the product block, such as title, quantity, and price.
When finished, hit Continue.
Example HTML
Here’s an example of the HTML code for a product block section within the email:
{% for item in triggerEvent['custom']['order_meta']['shopify_order']['most_recent_fulfillment']['fulfillment_line_items'] %}
{{item['line_item']['image']['src']}}
{{item['line_item']['product']['url']}}
{{item['line_item']['title']}}
{{item['line_item']['variant']['title']}}
Quantity: {{item['quantity']}}
Total: {{triggerEvent.custom['order_meta']['shopify_order']['presentment_currency']}} {{item['line_item']['final_line_price']}}
{% endfor %}
Need help or experiencing issues with the integration? Please reach out to the Malomo Team.