Identify your URL structure
If you've used our Shopify Theme App or Malomo.js to create your tracking page, identify your base URL for your tracking page. Let's say you created your tracking page on a page your titled "Order Tracking"; if so, then your base URL might look like this: https://brand.com/pages/order-tracking.
If your tracking page was built by the Malomo implementation team and is currently hosted by Malomo, your URL structure will look like this: https://brand.mymalomo.com/xxxxx/.
Link to the Tracking Page in Klaviyo emails
If you send your Shipping Confirmation, Delivery, or other messages out of Klaviyo, you can reference the Tracking Page link from any event-driven flow. Build the link for the "Track My Package" button using your base URL and the Malomo Order ID variable:
https://brand.mymalomo.com/xxxxx/?_m_id={{ event.order_id }}
You can also build the link using your base URL and the Shopify Order ID. Here’s an example:
https://brand.mymalomo.com/xxxxx/?_m_alt_id={{ event.extra.order.meta.shopify_order.id }}
We recommend using the Malomo Order ID variable but there are some use cases for the Shopify Order ID. One example: if you are using a Rebuy product recommendation widget on the tracking page, we recommend using the Shopify Order ID variable, as that will pass order information to the Rebuy widget.