Versions Compared

Key

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

...

Code Block
{% set data = trigger.getCustomEventData() %}

Add Malomo Data Tags

Tracking Information Data Tags

INFORMATION

EXAMPLE OUTPUT 

DATA TAG

Tracking Link

"Track Package" button

{{ data.order.url }}

Estimated Delivery Date

September 19, 2021, 9PM

{{ data.properties.estimated_delivery_date }}

Actual Delivery Date

September 19, 2020 10 PM

{{ data.properties.tracker_delivered_at }}

Carrier Name

FedEx

{{ data.properties.carrier_name }}

Carrier Service

Ground Home Delivery

{{ data.carrier_service }}

Tracking Number

99812911999333

{{ data.properties.tracking_code }}

Customer Information Data Tags

...

INFORMATION

EXAMPLE OUTPUT 

DATA TAG

Ship First Name

Mister

{{ data.order.shipping_address.first_name }}

Ship Last Name

Rogers

{{ data.order.shipping_address.last_name }}

Ship Company

Malomo

{{ data.order.shipping_address.company }}

Ship Phone

123-456-7890

{{ data.order.shipping_address.phone }}

Ship Address Line 1

123 Rogers Lane

{{ data.order.shipping_address.address1 }}

Ship Address Line 2

Apt. 305

{{ data.order.shipping_address.address2 }}

Ship City

Pittsburgh

{{ data.order.shipping_address.city }}

Ship Province

Pennsylvania

{{ data.order.shipping_address.province }}

Ship Province Code

PA

{{ data.order.shipping_address.province_code }}

Ship Zip

46205

{{ data.order.shipping_address.zip }}

Ship Country Code

US

{{ data.order.shipping_address.country_code }}

Ship Country

United States

{{ data.order.shipping_address.country }}

...

INFORMATION

EXAMPLE OUTPUT 

DATA TAG

Estimated Delivery Date

September 19, 2021, 9PM

{{ data.estimated_delivery_date }}

Actual Delivery Date

September 19, 2020 10 PM

{{ data.delivered_at }}

Carrier Name

FedEx

{{ data.carrier_name }}

Carrier Service

Ground Home Delivery

{{ data.carrier_service }}

Tracking Number

99812911999333

{{ data.tracking_code }}

Tracking Link

"Track Package" button

{{ data.order.url }}

Order Information Data Tags

INFORMATION

EXAMPLE OUTPUT 

DATA TAG

Order Number

1012

{{ data.order.number }}

Order Name

#1012

{{ data.order.meta.shopify_order.name }}

Order Status URL

https://goodestboi.com/6140756068/orders

{{ data.order.meta.shopify_order.order_status_url }}

Order Created at Date

July 2, 2019 5:16 PM

{{ data.order.created_at }}

Discount Codes

THANKYOU10

{{ data.order.meta.shopify_order.discount_codes }}

Total Discount

0.00

{{ data.order.meta.shopify_order.total_discounts }}

Subtotal Price

102.00

{{ data.order.meta.shopify_order.subtotal_price }}

Tax Price

7.14

{{ data.order.meta.shopify_order.tax_price }}

Shipping Price

2.13

{{ data.order.meta.shopify_order.shipping_price }}

Total Price

109.14

{{ data.order.meta.shopify_order.total_price }}

Total Refunded

56.76

{{ data.order.meta.shopify_order.total_refunded_amount }}

...