Release 4.16.0 (2020-07-17)
This update primarily effects SharePoint Online Modern View, but the same underlying code is used in all SharePoint products.
Fix: Correct Modern Search related behavior
Update code to correct lack of Search related data (Issues 976, 975, 1053, 1055, 1056, 1057, 1060, 1061, 1063, 1065, 1066, 1192, 1193)
Changes in SharePoint Online modern view "Search Results" pages resulted in loss of proper tracking of search interactions. This primarily affected the count of the number of results (which was showing as 0 for all searches) and double hits on search result clickthroughs. Search related code was refactored in its entirety to be more resiliant to future changes and to improve tracking overall.
Fix: Correct Modern Suggested Search related behavior
Update code to correct data related to Suggested Search item clickthroughs (Issues 1054, 1064, 1196, 1197, 1198, 1199, 1200)
Changes in SharePoint Online modern view "Suggested Search Results" resulted in loss of proper tracking of search interactions. Search related code was refactored in its entirety to be more resiliant to future changes and to improve tracking overall.
Fix: Correct Modern Enterprise Search (/sharepoint.aspx) related behavior
Update code to provide support for Modern Enterprise Search activity (Issues 1129, 1184, 1185, 1186, 1187, 1188, 1189, 1190)
SharePoint Online provides a Modern experience for the Home Page with a /_layouts/15/sharepoint.aspx URL. The Search Results page from this Home Page uses different HTML (though it looks the same) compared to the search results pages of normal /Home.aspx or similar pages. Search related code was refactored in its entirety to be more resiliant to future changes and to include tracking of this Enterprise Search page.
Fix: Correct Modern Document Library Preview window related behavior
Update code to correct issues tracking the Document Library Preview windows Command Bar including the Download and Previous/Next buttons (Issue 1124, 1125, 1128)
Changes in SharePoint Online modern view Document Library Preview windows (open an image) resulted in lack of proper tracking of clicks to the various Command Bar links. This update corrects the tracking for these links and improves tracking for some in cases of a page refresh or similar event.
Enhancement: Add Link Tracking support for Modern alterative Web Part Layouts
Update code to support alternative layouts of the News and Hero web parts (Issues 659, 1078)
SharePoint Online modern view offers web parts that provide alternative layout options to be customized for the page. Previous iterations of the code supported only the default layouts, and changing to alternative layouts altered the behariof of the tracking. This primarily results in lack of tracking of clicks to News and Hero web parts in other layouts as these use custom code to track their specific interactions. This update adds support for the other layouts of the Hero and News web parts. Other web parts with layout options are not reliant on custom code and generally tracked with the default link tracking code.
Fix: Correct inaccurate URL data on clicks to links with a Query String but no URI stem
Update code to correct interpretation of URL components on links that have a query string but no URI stem (Issue 1150)
Clicks to links that have a Query String (e.g. ?query=example) but no URI Stem (e.g. /teams/sitecollection) such as https://example.sharepoint.com?query=example were being misinterpretted by the code and resulting in the URL being broken up into pieces incorrectly for reporting (each component is sent using its own parameter e.g. dcsuri=/teams/sitecollection). This update corrects interpretation of URLs when no URI Stem if found.