Define a timer with JavaScript Variable

Capture performance data of a specific time in the page load, using simple math between two timing points.

How to

  1. Define a JavaScript timing variable in your source code that captures a specific time in the page load, and assign it a name.
  2. If the timer 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 the best results, avoid using a regular expression in the URL pattern.
  3. In the Variable Name field, enter the name of the JavaScript timing variable you defined in your source code.