Learn how to configure the urls to get the Conversion Rate from your Doofinder Control Panel.
One of the most valuable stats data you can get is the Conversion Rate. You can configure your SearchEngine to account your customer’s checkouts so you can get the Conversion Rate.
Conversion Rate
Conversion Rate is calculated as the number of sales over the number of users have used the search engine. To do this, we register an event when a user starts searching. In order to register the sales, you have to configure the confirmation order url. If you don’t have this setting, you will see your Stats page like the image below.
If you click in Configure
link, you’ll see a popup form
Here is where you will configure your confirmation urls. Some rules about it:
- Doofinder checks the match between the url that the user is visiting and the urls you have configured. So take care of no configuring urls like
/confirmation-order?user_id=234
, because you will only register sales for a user. Look atuser_id
argument. - You can put the exact url piece or use *. For instance, you can configure
/confirmation-order/
or/confirmation-order/*/payment-method/credit-card
. The * means that could there be whatever betweenconfirmation-order/
and/payment-method
. - Doofinder Script must be loaded in the confirmation order page. If it isn’t no sale event we’ll be registered.
Look at the example below:
In this example, we have three different patterns:
- Every url with
confirmation-order/
will match and a sale will be registered. - Every url with
new-order/payPal/
will match and a sale will be registered. - Every url starting with
order_id=
, containing something else and continuing with/credit_card
will match and a sale will be registered.