Set the path for tracking in single-page applications. Use before calling trackPageView to track the correct page.
trackPageView
to track the correct page.
setPath
before trackPageView
to ensure accurate tracking/
)Path data
The body is of type object
.
Path set successfully