Define a conversion metric

Measure and track how long it takes your visitors to convert from casually looking around on your site to completing a purchase.

A conversion metric tells mPulse to track the percentage of sessions (visits) that reach a page view, and confirm that a purchase has been completed. mPulse uses this metric to perform a What-If analysis to help you set goals for better online business results and improve site performance.

There are two ways to set up a conversion metric, either with a JavaScript variable or with a URL pattern to find the page you’re interested in. These instructions use a JavaScript variable to define a conversion metric.
Important: If you choose the URL Pattern method to define a conversion metric, ignore the Type of Query options.

How to

  1. If the metric that you want to capture applies only to certain pages on your site, enter the URL pattern to match those pages.
    You can use an asterisk as a wildcard to replace one or more characters (for example, */example/example-abc/*). mPulse looks for the first matching query string parameter for the page that has a URL pattern match.
    Note: For best results, avoid using a regular expression in the URL pattern.
  2. In the Variable Name field, enter the variable in your source code that you want to capture. The variable must be encoded globally on the page.
  3. From the Data Type menu, select Percentage to capture the rate that your visitors are viewing this page.
    Note: Percentage is divided by 100, and then multiplied by 100. Decimal places are to the right of a given decimal point. For example: 0 displays 12345%; 1 displays 1234.5%; 2 displays 123.45%; and so on.
  4. Scroll to the bottom of the dialog, and select a calculation method:
    • Once per session. Calculates the conversion rate based on the number of conversions per session. For example, your site has 10 visitors (sessions), and 2 of those visitors purchase a total of 6 items, while the other 8 visitors do not. The conversion rate for your site is 20%.
    • Once per page. Calculates the conversion rate based on the number of conversions per page.
      Note: If you choose this option and a visitor purchases the same item more than once, the conversion rate will be higher than 100%.
  5. To override the preset dashboard formats at the top of the dialog, select the checkbox and make your changes.
  6. Click OK to save the metric.