Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

INFORMATION

EXAMPLE OUTPUT 

DATA TAG

Carrier Service

FedEx

{{ data.carrier_name }}

Tracking Number

99812911999333

{{ data.tracking_code }}

Tracking Link

"Track Package" button

{{ data.order.url }}

...

Order Information Data Tags

INFORMATION

EXAMPLE OUTPUT 

EVENT VARIABLE

Item Title

Code Block
Red Sweater
Code Block
{{ line_item.title }}

Item Quantity

Code Block
1
Code Block{{ line_item.quantity

7.14

code

{{

event.extra.order.meta.shopify_order.total_refunded_amount

}}

INFORMATION

EXAMPLE OUTPUT 

DATA TAG

Order Number

code

1012

code

{{

event.extra.order.number

}}

Order Name

code

#1012

code

{{

event.extra.order.meta.shopify_order.name

}}

Order Created at Date

code

July

2,

2019

5:16

PM

code

{{

event.extra.order.meta.shopify_order.created_at

}}

Order Note

code

This

is

a

note

from

the

Shopify

order

notes

section.

code

{{

event.extra.order.meta.shopify_order.note

}}

Discount Codes

code

THANKYOU10

code

{{

event.extra.order.meta.shopify_order.discount_codes

}}

Total Discount

code

0.00

code

{{

event.extra.order.meta.shopify_order.total_discounts

}}

Subtotal Price

code

102.00

code

{{

event.extra.order.meta.shopify_order.subtotal_price

}}

Tax Price

Code Block

{{

event.extra.order.meta.shopify_order.tax_price

}}

Shipping Price

code

2.13

code

{{

event.extra.order.meta.shopify_order.shipping_price

}}

Total Price

code

109.14

code

{{

event.extra.order.meta.shopify_order.total_price

}}

Financial Status

code

PAID

code

{{

event.extra.order.meta.shopify_order.financial_status

}}

Total Paid

code

109.14

code

{{

event.extra.order.meta.shopify_order.total_price

}}

Cancelled on Date

code

July

1,

2019

11:03

PM

code

{{

event.extra.order.meta.shopify_order.cancelled_at

}}

Cancellation Reason

code

Refund

code

{{

event.extra.order.meta.shopify_order.cancel_reason

}}

Total Refunded

code

56.76

Code Block

 

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: 

Code Block
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: 

}}

Item Variant Title:

Code Block
Long Sleeve
Code Block
{{ line_item.variant.title }}

Item Image

Code Block
Shows image of product
Code Block
{{ line_item.image.src }}

Item Link

Code Block
URL for PDP
Code Block
{{ line_item.product.url }}

Item Final Line Price

Code Block
$102.00
Code Block
{{ line_item.final_line_price }}

 

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:

Code 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: 

Code Block
{% endfor %}{% endwith %}

 

Next, you'll use these variables within your static table block: 

INFORMATION

EXAMPLE OUTPUT 

EVENT VARIABLE

Item Title

Code Block
Red Sweater
Code Block
{{ i.line_item.title }}

Item Quantity

Code Block
1
Code Block
{{ i.line_item.quantity }}

Item Variant Title:

Code Block
Long Sleeve
Code Block
{{ i.line_item.variant.title }}

Item Image

Code Block
Shows image of product
Code Block
{{ i.line_item.image.src }}

Item Link

Code Block
URL for PDP
Code Block
{{ i.line_item.product.url }}

Item Final Line Price

Code Block
$102.00
Code Block
{{ i.line_item.final_line_price }}

...

Event Data Tag

...

Description

...

Example

...

Order Status URL

...

The URL of your shop’s order tracking page. It can be a Shopify page or Malomo-hosted page.

...

“https://ppeev.myshopify.com/pages/order-tracking?_m_id=001d961a-2c3b-4cee-b22c-2a3d3b64b5e8"

...

Order Number

...

The order number assigned by Shopify

...

“1000”

...

{{ event.extra.order.meta.shopify_order.name }}

...

Tracking EDD

...

The shipment’s original estimated delivery date provided by the carrier, if available

...

“2019-01-30 13:30:00”

...

Tracking Latest Status Detail

...

Standardized tracking message with relevant shipment information

...

“arrived_at_destination”

...

Tracking Latest Status

...

Current tracking status of the shipment

...

“delivered”

...

Customer Email

...

Customer email address

...

“john@example.com”

...

Tracking Number

...

Tracking number

...

“9400000000000000000000”

...

Customer Name

...

Customer first and last name

...

“John Smith”

...

Shipping Address

...

Customer shipping address

...

“INDIANAPOLIS, US, 46203, IN”

...

Tracking Latest Update

...

The timestamp of the latest shipment update provided by the carrier

...

2019-01-30 13:30:00

...

Tracking URL

...

The carrier’s tracking page URL

...

“https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=9400000000000000000000”

...

Carrier Name

...

Carrier name

...

USPS

...

Carrier Service

...

Carrier service level

...

First-Class Package Service

...

Need help or experiencing issues with the integration? Please reach out to either the Malomo Team or Sendlane Support.