You can exclude virtual pages from being monitored based on the virtual pages' URLs. You define
Virtual Page Object
vp object contains the
exclude filter that specifies an array of patterns to match the URLs of virtual pages to exclude. By defining an
exclude filter, you automatically enable SPA2 monitoring.
Virtual Page Filter Example
exclude filter before you inject the
For example, in the code snippet below, the pattern would match and exclude all virtual pages with URLs that have the strings "contact", "api", or "api" followed by one or more characters.