Release 2.0.3 (2022-04-04)
Enhancement: Improve Tracking Performance
Updated logic to eliminate unnecessary calls to the SharePoint API (Issues 2991, 2992, 2993)
The process of retrieving user properties has been updated to reduce the amount of data being requested. Extraneous API calls have been removed when determining the web parts on a page and when determining the site collection title.
Fix: Correct Search Results Page Tracking
Updated code to prevent duplicate page view events when moving from a SharePoint Online homepage to a search results page (Issue 3089)
Previously, SharePoint Online did not fire the navigatedEnd event when starting on the homepage and moving to the search results page. Microsoft has corrected this behavior, so the tracking code was updated accordingly.
Fix: Correct Tracking of Search Refiners in SharePoint 2019
Updated code to track usage of search refiners and scope changes in SharePoint 2019 (Issue 3089)
Refining search results and changing the scope of a search were not being tracked. This update restores that tracking.
Fix: Correct Tracking of “Search this site” clicks in SharePoint Online
Updated code to track usage of the “Search this site” option in SharePoint Online
Clicks to “Search this site” were no longer generating a scope change event. This update restores that tracking.