Define a revenue metric
Track your revenue and the cumulative value of sales over a period of time.
A revenue metric tells mPulse to track the cumulative value of sales over a period of time, and then perform a What-If analysis to help you set goals for better online business results and improve site performance.
These instructions use the URL Pattern method and a CSS Selector to define a revenue metric.
For additional support when defining custom metrics, visit Community or contact your account team.
In the URL Pattern field, enter the URL
that you wan to match.
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 the best results, avoid using a regular expression in the URL pattern.
- From the Type of Query menu, select CSS Selector.
From the page, find the currency value
that you want applied to the metric, copy the element’s selector, and paste it in the
For details, see Capture a CSS Selector or XPath.
- From the Include on menu, select All non-XHR beacons. This tells mPulse to collect page view beacons for this metric.
From the Data Type menu, select
Note: Currency is displayed using a currency symbol. Decimal places are from right to left. For example: 0 displays $12,345; 1 displays $1,234.5; 2 displays $123.45; and so on.
- To override the preset dashboard formats at the top of the dialog, select the checkbox and make your changes.
- Click OK to save the metric.