Personalization options in Klaviyo
Before Getting Started:
When using the Malomo Shopify/Klaviyo integration, the following personalized data points can be used in the body of shipment-related emails that you send to your customers:
CUSTOMER INFORMATION
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE |
---|---|---|
First Name |
CODE
|
CODE
|
Last Name |
CODE
|
CODE
|
CODE
|
CODE
| |
Phone Number |
CODE
|
CODE
|
DELIVERY INFORMATION
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE |
---|---|---|
Estimated Delivery Date |
CODE
|
CODE
|
Actual Delivery Date |
CODE
|
CODE
|
SHIPPING ADDRESS
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE |
---|---|---|
Ship First Name |
CODE
|
CODE
|
Ship Last Name |
CODE
|
CODE
|
Ship Company |
CODE
|
CODE
|
Ship Phone |
CODE
|
CODE
|
Ship Address Line 1 |
CODE
|
CODE
|
Ship Address Line 2 |
CODE
|
CODE
|
Ship City |
CODE
|
CODE
|
Ship Province |
CODE
|
CODE
|
Ship Province Code |
CODE
|
CODE
|
Ship Zip |
CODE
|
CODE
|
Ship Country Code |
CODE
|
CODE
|
Ship Country |
CODE
|
CODE
|
SHIPPING INFORMATION
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE |
---|---|---|
Carrier Service |
CODE
|
CODE
|
Tracking Number |
CODE
|
CODE
|
Tracking Link |
CODE
|
CODE
|
ORDER DETAILS
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE |
---|---|---|
Order Number |
CODE
|
CODE
|
Order Name |
CODE
|
CODE
|
Order Created at Date |
CODE
|
CODE
|
Order Note |
CODE
|
CODE
|
Discount Codes |
CODE
|
CODE
|
Total Discount |
CODE
|
CODE
|
Subtotal Price |
CODE
|
CODE
|
Tax Price |
CODE
|
CODE
|
Shipping Price |
CODE
|
CODE
|
Total Price |
CODE
|
CODE
|
Financial Status |
CODE
|
CODE
|
Total Paid |
CODE
|
CODE
|
Cancelled on Date |
CODE
|
CODE
|
Cancellation Reason |
CODE
|
CODE
|
Total Refunded |
CODE
|
CODE
|
LINE ITEMS
Each line item represents a product purchased by the customer who is receiving the email. You can choose to show either all the products a customer ordered or all the products for an individual shipment.
LINE ITEMS IN ORDER
We recommend using a dynamic table block in Klaviyo to show all products a customer ordered. To do this, configure the data source elements as:
Row collection: event.extra.order.meta.shopify_order.line_items
Row alias: line_item
Next, you'll use these variables within your dynamic table block:
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE |
---|---|---|
Item Title |
CODE
|
CODE
|
Item Quantity |
CODE
|
CODE
|
Item Variant Title: |
CODE
|
CODE
|
Item Image |
CODE
|
CODE
|
Item Link |
CODE
|
CODE
|
Item Final Line Price |
CODE
|
CODE
|
LINE ITEMS IN FULFILLMENT
We recommend using a static table block in Klaviyo to show all products in a customer's shipment. To do this, add the following code before the static product block:
{% with fulfillment=event.extra.order.meta.shopify_order.fulfillments|lookup:event.tracking_code %} {% for i in fulfillment.fulfillment_line_items %}
And add the following code after the static product block:
{% endfor %}{% endwith %}
Next, you'll use these variables within your static table block:
INFORMATION | EXAMPLE OUTPUT | EVENT VARIABLE |
---|---|---|
Item Title |
CODE
|
CODE
|
Item Quantity |
CODE
|
CODE
|
Item Variant Title: |
CODE
|
CODE
|
Item Image |
CODE
|
CODE
|
Item Link |
CODE
|
CODE
|
Item Final Line Price |
CODE
|
CODE
|
View our complete list of Klaviyo variables here.