trackHistoryChanges property
Web specific
Provides advanced configuration options for tracking page views in a single-page application.
Options:
-
all: Track page view events on any navigation change to the URL, including changes to the URL fragment. For example, navigating fromhttps://amplitude.com/#companytohttps://amplitude.com/#blog. -
pathOnly: Track page view events only on navigation changes to the URL path. For example, navigating fromhttps://amplitude.com/companytohttps://amplitude.com/blog.
If omitted, the default behavior is to track page view events on any navigation change to the URL. See docs
Implementation
final String? trackHistoryChanges;