To add a button in your Klaviyo order confirmation email that directs customers to view their order on Shopify, you'll need to use the correct merge tag for the order status URL.
Here's the process:
-
Find the Correct Merge Tag: The merge tag you need is {{ event.extra.order_status_url }}
. This tag dynamically pulls the order status URL for each order, directing customers to their specific order summary page on Shopify.
-
Insert the Merge Tag: In Klaviyo, when you're editing your email template, you can add this merge tag to the URL of your button. For example, when you set up the button, use the merge tag in the Link URL field.
-
Testing: After inserting the merge tag, make sure to test the email to ensure that the button correctly redirects to the order summary page.
This process works well within a Klaviyo flow triggered by the "Placed Order" or "Fulfilled Order" event. You can preview the email in the flow editor to confirm that the event data is being pulled correctly.
Resources used:
Hope this helps :)