Define a timer with User Timing
Capture performance data with a timing mark or a timing range in a page based on existing User Timing API methods.
Define either a timing mark
performance.mark) to capture a specific timing point in a page or a timing measure (
performance.measure) to capture a range of time in a page. For an example of how a
performance.markis defined in a script, see User Timing.
If the timer that you want to capture
applies only to certain pages on your site, enter the URL pattern to match those
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.
- In the User Time Name field, enter the name of the timing mark or the timing measure that you defined in your source code. mPulse automatically detects the difference between performance marks and measures. It assumes that you want to know the time from the beginning of the page load until the timer itself is found on the page.