Define a dimension with XPath or CSS Selector

Capture the value of a DOM node element in a page.

How to

  1. If the dimension 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.
  2. Go to the page, copy the selector or XPath and paste it in the corresponding field in the dialog.