How to setup transaction goals

Created by LiRou C, Modified on Mon, 04 Dec 2023 at 11:45 AM by LiRou C

There are a few methods we recommend utilizing for a smooth set up:


1. Reaching a Particular Page


This method is ideal if there is a specific page URL visitors land on upon completing a transaction. You can easily set up your goal using this URL. Here's an example:


  • Page URL: https://example.com/complete-order


Simply utilize this specific page URL as your goal for tracking successful transactions. 



2. Reaching an URL with a Pattern (Wildcard)


A wildcard URL can be beneficial when the purchase confirmation page URL varies for each transaction. In such cases, a dynamic URL pattern can serve the purpose. Here's an example on how wildcards would look:


  • Wildcard URL: https://example.com/complete-order/%


You may utilize the '%' sign to stand in for varying elements in the URL. This way, the URL pattern serves to track all transactions effectively.



3. Triggering an Event


If above methods don't align with your requirements, we recommend using the custom event API to define your transaction goal. You can learn more about setting up a custom event via API here. For Shopify sites, you can integrate your events with Mida as well. Read more on How to track Purchase in Shopify here

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article