SlideShare uma empresa Scribd logo
1 de 47
Content Recommendation with SharePoint Search
André Vala
SHAREPOINT SOLUTIONS ARCHITECT
André Vala
/47
2
ABOUT ME
BLOG
LINKED IN
TWITTER
EMAIL
MEMBER OF
MEMBER OF
WORKS FOR
andre.vala@create.pt
@atomicvee
http://blogit.create.pt/andrevala
http://www.linkedin.com/in/andrevala
 SharePoint Solutions Architect
JOB TITLE
Office365 PT
SPUG PT
Agenda
• Content Recommendation
• How does it work?
• Reporting
• Customization
• Anonymous Users
/47
3
Content Recommendation
/474
Content Recommendation
What?
• Providing relevant contextual content to users
• “People who viewed this also viewed that”
• “These are the most popular items”
Why?
• Enhanced user experience
• Improved conversion (on e-commerce sites)
How?
SharePoint 2013 includes two out-of-the-box webparts
• Recommended Items web part
• Popular Items web part
/47
5
Recommended Items Web Part
• Out-of-the-box Web Part
• Similar to a Content Search Web Part
• Shows list of recommended items
related to the current content (“users
who viewed this item also viewed
these items”)
/47
6
CONTENT RECOMMENDATION
Popular Items Web Part
• Out-of-the-box Web Part
• Similar to a Content Search Web Part
• Shows most viewed items
• Can be filtered (by category, for example)
/47
7
CONTENT RECOMMENDATION
DEMO
Content Recommendation
/478
Demo Summary
• Recommended Items Web Part
• Popular Items Web Part
/47
9
CONTENT RECOMMENDATION
How does it work?
/4710
Architecture
/47
11
HOW DOES IT WORK?
Page with
web parts
Usage
Reports
Search
Index
Analytics
Processing
Component
Event
Store
External
Events
Analytics
Reporting DB
User
Admin
1
2
3
4
5
6
7
8
1 Usage events are recorded by the webparts
and saved in the event store
Usage events from the event store or from
external events are periodically processed
by the Analytics Processing Component
2
3
Recommendation and popularity data
about each item is added to the search
index
4
Processed usage events are also stored in
the Analytics Reporting database
5
Recommendation and popularity data is
used in the respective webparts and also to
influence relevance in search queries
6
Popularity data from the search index and
analytics reporting database is used in
usage reports
7
8
Usage Events
• Default usage event types
• View
• Recommendation displayed
• Recommendation clicked
• Recorded by the web parts and saved to the Event Store
• You can create up to 12 custom usage event types
/47
12
HOW DOES IT WORK?
Event Store
Folder in the file system that stores usage event log files
/47
13
HOW DOES IT WORK?
1_2015110618_AV-SP-VM01.log
Event
Type ID
Year Month Day Hour
Server
Usage Event Log
1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:37 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/action 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:43 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=1 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:11:02 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/adventure CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:08 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=29 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:12 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/role-playing CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:23 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
/47
14
HOW DOES IT WORK?
Event Type ID
1 http://dev.crt.pt/lists/games/dispform.aspx?id=19
Item URL
Usage Event Log
1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:37 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/action 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:43 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=1 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:11:02 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/adventure CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:08 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=29 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:12 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/role-playing CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:23 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
/47
15
HOW DOES IT WORK?
Obfuscated User ID
CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM
Event Date and Time
Usage Event Log
1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:37 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/action 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:43 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=1 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:11:02 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/adventure CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:08 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=29 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:12 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/role-playing CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:23 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1
/47
16
HOW DOES IT WORK?
Subscription ID
00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f
Site Collection ID Scope ID
Usage Analytics Processing
• Usage Analytics processing runs once every 24 hours
• How to manually jump start it
1. Start Search Analytics
2. Push usage events to the Event Store
3. Prepare usage event files
4. Start Usage Analytics
/47
17
HOW DOES IT WORK?
Start Search Analytics
Start the Search Analytics timer job
$a = Get-SPTimerJob -Type Microsoft.Office.Server.Search.Analytics.AnalyticsJobDefinition
$sa = $a.GetAnalysis("Microsoft.Office.Server.Search.Analytics.SearchAnalyticsJob")
$sa.StartAnalysis()
Check if the Search Analytics timer job is done
$sa.GetAnalysisInfo()
/47
18
HOW DOES IT WORK? > ANALYTICS PROCESSING
Push events to the Event Store
Events are pushed every 10 minutes through a Timer Job
$tj = Get-SPTimerJob -Identity ("job-usage-log-file-import")
$tj.RunNow()
Check the event store
C:Program FilesMicrosoft Office Servers15.0DataOffice ServerAnalytics_<GUID>EventStore
/47
19
HOW DOES IT WORK? > ANALYTICS PROCESSING
Prepare usage event files
• Usage Analytics processes usage events from the previous day
• Workaround to process current day
• Copy usage log files to a custom folder
• Make sure the folder is read-only
• Run the job specifying the folder path
/47
20
HOW DOES IT WORK? > ANALYTICS PROCESSING
Start Usage Analytics
Run the following PowerShell script
$tj = get-sptimerjob -type microsoft.office.server.search.analytics.usageanalyticsjobdefinition
$tj.DisableTimerJobSchedule()
$tj.StartAnalysis("<hostname>Analytics_<guid>EventStoremyevents")
$tj.EnableTimerJobSchedule()
Check if the usage analytics job is done
$tj.GetAnalysisInfo()
/47
21
HOW DOES IT WORK? > ANALYTICS PROCESSING
Recommended Items Web Part
• Shows items whose recommendedfor property includes a token from the
current URL
• Display Template records usage events:
• Recommendation Displayed
• Recommendation Clicked
• To generate recommendations, associated items must have been clicked
by three or more different users
/47
22
HOW DOES IT WORK?
Popular Items Web Part
• Shows items sorted by the ViewsRecent managed property (number of
views of the item in the last 14 days)
• Uses owstaxIdMetadataAllTagsInfo managed property for automatic
filtering
/47
23
HOW DOES IT WORK?
DEMO
How does it work?
/4724
Demo Summary
• How events are recorded to the event store
• Manually starting usage analytics processing
• Configuring Recommended Items Webpart
• Configuring Popular Items Webpart
/47
25
HOW DOES IT WORK?
Reporting
/4726
Popular Items Report
• Shows usage event statistics for all items in a list/library
• Can be sorted by recent (last 14 days) or ever
• Accessible from the list/library ribbon (Most Popular Items button)
/47
27
Popularity Trends Report
• Excel report
• Shows usage event statistics for a:
• Site collection (from site collection administration settings)
• Web site (from site administration settings)
• List/library item (from list/library files ribbon)
• Daily count for the last 14 days
• Monthly count for the last 3 years
/47
28
Using PowerShell
Get Usage Report
https://msdn.microsoft.com/EN-US/library/microsoft.office.server.search.administration.searchserviceapplication.getrollupanalyticsitemdata.aspx
Retrieves usage data (hits and users) for a site collection or a specific web site, for a single day or a whole month.
$searchApp.GetRollupAnalyticsItemData
Get Search Report
https://msdn.microsoft.com/EN-US/library/microsoft.office.server.search.administration.searchserviceapplication.getsearchreport.aspx
Retrieves the search report (top queries) for one or all site collection, for a single day or a whole month.
$searchApp.GetSearchReport
/47
29
DEMO
Reporting
/4730
Demo Summary
• Popular Items Report
• Popularity Trends Report
• How to retrieve reporting data using PowerShell
/47
31
REPORTS
Customization
/4732
Custom Event Types
Get the site collection
$Site = Get-SPSite "http://localhost"
Create a custom usage event type
$SSP = Get-SPEnterpriseSearchServiceApplicationProxy
$EventGuid = [Guid]::NewGuid()
$EventName = "MyEventType"
$tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty)
$newEventType = $tenantConfig.RegisterEventType($EventGuid, $EventName, "")
$tenantConfig.Update($SSP)
/47
33
Record a Usage Event
window.LogMyEventTypeToEventStore = function(url) {
ExecuteOrDelayUntilScriptLoaded(function() {
var spClientContext = SP.ClientContext.get_current();
SP.Analytics.AnalyticsUsageEntry.logAnalyticsEvent(
spClientContext,
256,
url);
spClientContext.executeQueryAsync(
null,
Function.createDelegate(this, function(sender, e){
alert("Failed to log event for item: " + document.URL + " due to: " + e.get_message())
})
);
},
"SP.js");
}
/47
34
Event Recommendation Weight
$SSP = Get-SPEnterpriseSearchServiceApplicationProxy
$tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty)
$event = $tenantConfig.EventTypeDefinitions | where-object {
$_.EventTypeId -eq 256
}
$event.RecommendationWeight = 2
$tenantConfig.Update($SSP)
/47
35
Recent Popularity Time Frame
$SSP = Get-SPEnterpriseSearchServiceApplicationProxy
$tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty)
$event = $tenantConfig.EventTypeDefinitions | where-object {
$_.EventTypeId -eq 256
}
$event.RecentPopularityTimeFrame = 7
$tenantConfig.Update($SSP)
/47
36
DEMO
Customization
/4737
Demo Summary
• Create custom usage event type
• Recording custom usage event
• Changing event recommendation weight
• Changing the recent popularity time frame
/47
38
CUSTOMIZATION
Anonymous Users
/4739
Recommendations for Anonymous Users
• Requires usage cookies
• Cookies that identify a user session using a GUID
• Lifetime of 14 days
• By default usage cookies are disabled for SharePoint web applications
• By default, only the View event type can be recorded for anonymous users
/47
40
Allow Event Recording for Anonymous Users
Get Search Service Application
$SSP = Get-SPEnterpriseSearchServiceApplicationProxy
Get a usage event type
$tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty)
$event = $tenantConfig.EventTypeDefinitions | where-object { $_.EventTypeId -eq <EventTypeId> }
Enable the recording of a usage event for anonymous users
$event.Options = [Microsoft.Office.Server.Search.Analytics.EventOptions]::AllowAnonymousWrite
$tenantConfig.Update($SSP)
/47
41
DEMO
Anonymous Users
/4742
Demo Summary
• Enabling the usage cookies in a web application
• Enabling anonymous recording of events other than “view”
/47
43
ANONYMOUS USERS
Conclusion
/4744
Key Takeaways
• SharePoint records and analyzes usage data to calculate
• Item popularity (view count)
• Item recommendations (item relationships)
• SharePoint includes two out-of-the-box web parts
• Recommendation features are based on Search
• Recommendation features are customizable
• Create custom usage event types
• Change recommendation weight
• Change recent popularity time frame
/47
45
References
How to display recommendations and popular items in SharePoint Server 2013
https://technet.microsoft.com/en-us/library/dn794244.aspx
Overview of analytics processing in SharePoint Server 2013
https://technet.microsoft.com/en-us/library/jj219554
Configure recommendations and usage event types in SharePoint Server 2013
https://technet.microsoft.com/en-us/library/jj715889.aspx#BKMK_CreateCustomUsageEventType
View usage reports in SharePoint Server 2013
https://technet.microsoft.com/en-us/library/jj715890.aspx
Bella Engen’s blog
http://blogs.technet.com/b/tothesharepoint
Waldek Mastykarz’s blog
http://blog.mastykarz.nl
/47
46
Thank You
Obrigado
Tack
/4747
http://blogit.create.pt/andrevala
andre.vala@create.pt
@atomicvee
http://www.linkedin.com/in/andrevala

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Advanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online WorkflowsAdvanced Office365 Sharepoint online Workflows
Advanced Office365 Sharepoint online Workflows
 
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
How to Develop Maintainable Custom Workflows in Office 365 Share Point Online?
 
Sps bend rax
Sps bend raxSps bend rax
Sps bend rax
 
SharePoint Upgrade or Migration, or is it both? - SPS London 2016
SharePoint Upgrade or Migration, or is it both? - SPS London 2016SharePoint Upgrade or Migration, or is it both? - SPS London 2016
SharePoint Upgrade or Migration, or is it both? - SPS London 2016
 
Bringing your data to life using Power BI - SPS London 2016
Bringing your data to life using Power BI - SPS London 2016Bringing your data to life using Power BI - SPS London 2016
Bringing your data to life using Power BI - SPS London 2016
 
SharePoint 2016 Search
SharePoint 2016 SearchSharePoint 2016 Search
SharePoint 2016 Search
 
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
SharePoint Fest Seattle 2017 Getting started with office365 sharepoint online...
 
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
SPSLondon 2015 Evolving with Office 365 and SharePoint Online Collaboration T...
 
WF 105 Business Process Automation SharePoint Fest DC 2018
WF 105 Business Process Automation SharePoint Fest DC 2018WF 105 Business Process Automation SharePoint Fest DC 2018
WF 105 Business Process Automation SharePoint Fest DC 2018
 
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premise
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premiseWriting futuristic workflows in office 365 SharePoint 2013 2016 on premise
Writing futuristic workflows in office 365 SharePoint 2013 2016 on premise
 
Changing the way you work with Modern SharePoint Team Sites and Office 365 Gr...
Changing the way you work with Modern SharePoint Team Sites and Office 365 Gr...Changing the way you work with Modern SharePoint Team Sites and Office 365 Gr...
Changing the way you work with Modern SharePoint Team Sites and Office 365 Gr...
 
SPS Reston SharePoint Alwyays On
SPS Reston SharePoint Alwyays OnSPS Reston SharePoint Alwyays On
SPS Reston SharePoint Alwyays On
 
[Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016 [Webinar] New Features in SharePoint 2016
[Webinar] New Features in SharePoint 2016
 
10 AWESOME Things We've Done With SharePoint
10 AWESOME Things We've Done With SharePoint10 AWESOME Things We've Done With SharePoint
10 AWESOME Things We've Done With SharePoint
 
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
Replacing your fileshare with SharePoint 2013 Farm - SharePoint User Group UK...
 
Keeping up to date
Keeping up to dateKeeping up to date
Keeping up to date
 
Technical SEO Checklist for Beginners
Technical SEO Checklist for BeginnersTechnical SEO Checklist for Beginners
Technical SEO Checklist for Beginners
 
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
Top 8 things you didn’t know SharePoint could do: Turbocharging your SharePoi...
 
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature UpdatesWhy Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
Why Upgrade to SharePoint 2016: Including Future of SharePoint Feature Updates
 
Power Users Guide to Office 365 - Collab365 Summit 2016
Power Users Guide to Office 365 - Collab365 Summit 2016Power Users Guide to Office 365 - Collab365 Summit 2016
Power Users Guide to Office 365 - Collab365 Summit 2016
 

Semelhante a Content Recommendation with SharePoint Search

Build It and They Will Come: SharePoint 2013 User Adoption
Build It and They Will Come:  SharePoint 2013 User AdoptionBuild It and They Will Come:  SharePoint 2013 User Adoption
Build It and They Will Come: SharePoint 2013 User Adoption
Stacy Deere
 

Semelhante a Content Recommendation with SharePoint Search (20)

Build It and They Will Come: SharePoint 2013 User Adoption
Build It and They Will Come:  SharePoint 2013 User AdoptionBuild It and They Will Come:  SharePoint 2013 User Adoption
Build It and They Will Come: SharePoint 2013 User Adoption
 
Atlassian User Group NYC 080818 event
Atlassian User Group NYC 080818 eventAtlassian User Group NYC 080818 event
Atlassian User Group NYC 080818 event
 
SPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User Adoption
SPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User AdoptionSPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User Adoption
SPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User Adoption
 
Consuming REST Services in BizTalk 2010
Consuming REST Services in BizTalk 2010Consuming REST Services in BizTalk 2010
Consuming REST Services in BizTalk 2010
 
Creating Business Intelligence with SharePoint 2010
Creating Business Intelligence  with SharePoint 2010Creating Business Intelligence  with SharePoint 2010
Creating Business Intelligence with SharePoint 2010
 
SharePoint Saturday Chicago - SharePoint for DBAs Tom Resing
SharePoint Saturday Chicago - SharePoint for DBAs Tom ResingSharePoint Saturday Chicago - SharePoint for DBAs Tom Resing
SharePoint Saturday Chicago - SharePoint for DBAs Tom Resing
 
SP24 S055 SharePointToolbox by Rodrigo Pinto
SP24 S055 SharePointToolbox by Rodrigo PintoSP24 S055 SharePointToolbox by Rodrigo Pinto
SP24 S055 SharePointToolbox by Rodrigo Pinto
 
March 2020 Microsoft 365 Need to Know Webinar
March 2020 Microsoft 365 Need to Know WebinarMarch 2020 Microsoft 365 Need to Know Webinar
March 2020 Microsoft 365 Need to Know Webinar
 
Create Tailored Search Results through Customized Display Templates
Create Tailored Search Results through Customized Display TemplatesCreate Tailored Search Results through Customized Display Templates
Create Tailored Search Results through Customized Display Templates
 
Sprint 56
Sprint 56Sprint 56
Sprint 56
 
Reactive summit 2018
Reactive summit 2018Reactive summit 2018
Reactive summit 2018
 
10 razones para pasarse a SharePoint 2010
10 razones para pasarse a SharePoint 201010 razones para pasarse a SharePoint 2010
10 razones para pasarse a SharePoint 2010
 
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
2015-06-10 Ceus by IberianSPC - new options for SharePoint 2016 and Office 36...
 
Pivotal - Advanced Analytics for Telecommunications
Pivotal - Advanced Analytics for Telecommunications Pivotal - Advanced Analytics for Telecommunications
Pivotal - Advanced Analytics for Telecommunications
 
Preview of DNN Platform 8
Preview of DNN Platform 8 Preview of DNN Platform 8
Preview of DNN Platform 8
 
Himmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & DebuggingHimmelstein SP Connections HAD207 SharePoint Logging & Debugging
Himmelstein SP Connections HAD207 SharePoint Logging & Debugging
 
SPFest DC Build It and They Will Come Share-Point 2013 User Adoption
SPFest DC   Build It and They Will Come Share-Point 2013 User AdoptionSPFest DC   Build It and They Will Come Share-Point 2013 User Adoption
SPFest DC Build It and They Will Come Share-Point 2013 User Adoption
 
SPS Nashville - Build It and They Will Come SharePoint 2013 User Adoption
SPS Nashville - Build It and They Will Come SharePoint 2013 User AdoptionSPS Nashville - Build It and They Will Come SharePoint 2013 User Adoption
SPS Nashville - Build It and They Will Come SharePoint 2013 User Adoption
 
November 2020 Microsoft 365 Need to Know Webinar
November 2020 Microsoft 365 Need to Know WebinarNovember 2020 Microsoft 365 Need to Know Webinar
November 2020 Microsoft 365 Need to Know Webinar
 
January 2022 CIAOPS Need to Know Webinar
January 2022 CIAOPS Need to Know WebinarJanuary 2022 CIAOPS Need to Know Webinar
January 2022 CIAOPS Need to Know Webinar
 

Mais de André Vala

Mais de André Vala (20)

RGPD - Testemunho do Mundo Real
RGPD - Testemunho do Mundo RealRGPD - Testemunho do Mundo Real
RGPD - Testemunho do Mundo Real
 
Office Dev Day 2018 - Extending Microsoft Teams
Office Dev Day 2018 - Extending Microsoft TeamsOffice Dev Day 2018 - Extending Microsoft Teams
Office Dev Day 2018 - Extending Microsoft Teams
 
From Event Receivers to SharePoint Webhooks (SPS Lisbon 2017)
From Event Receivers to SharePoint Webhooks (SPS Lisbon 2017)From Event Receivers to SharePoint Webhooks (SPS Lisbon 2017)
From Event Receivers to SharePoint Webhooks (SPS Lisbon 2017)
 
From Event Receivers to SharePoint Webhooks
From Event Receivers to SharePoint WebhooksFrom Event Receivers to SharePoint Webhooks
From Event Receivers to SharePoint Webhooks
 
Planning the Death Star with Microsoft Planner
Planning the Death Star with Microsoft PlannerPlanning the Death Star with Microsoft Planner
Planning the Death Star with Microsoft Planner
 
From Event Receivers to SharePoint Webhooks
From Event Receivers to SharePoint WebhooksFrom Event Receivers to SharePoint Webhooks
From Event Receivers to SharePoint Webhooks
 
Microsoft Planner Deep Dive
Microsoft Planner Deep DiveMicrosoft Planner Deep Dive
Microsoft Planner Deep Dive
 
SharePoint - Presente e Futuro
SharePoint - Presente e FuturoSharePoint - Presente e Futuro
SharePoint - Presente e Futuro
 
Office 365 Groups Deep Dive
Office 365 Groups Deep DiveOffice 365 Groups Deep Dive
Office 365 Groups Deep Dive
 
Soluções com Office Graph
Soluções com Office GraphSoluções com Office Graph
Soluções com Office Graph
 
Host-Named Site Collections in SharePoint 2013
Host-Named Site Collections in SharePoint 2013Host-Named Site Collections in SharePoint 2013
Host-Named Site Collections in SharePoint 2013
 
User License Enforcement em SharePoint 2013
User License Enforcement em SharePoint 2013User License Enforcement em SharePoint 2013
User License Enforcement em SharePoint 2013
 
How To Use Host-Named Site Collections
How To Use Host-Named Site CollectionsHow To Use Host-Named Site Collections
How To Use Host-Named Site Collections
 
Novidades na pesquisa no SharePoint 2013
Novidades na pesquisa no SharePoint 2013Novidades na pesquisa no SharePoint 2013
Novidades na pesquisa no SharePoint 2013
 
Building Public Web Sites in SharePoint 2010
Building Public Web Sites in SharePoint 2010 Building Public Web Sites in SharePoint 2010
Building Public Web Sites in SharePoint 2010
 
SharePoint + Azure = Better Together
SharePoint + Azure = Better TogetherSharePoint + Azure = Better Together
SharePoint + Azure = Better Together
 
Federated Authentication in SharePoint 2010
Federated Authentication in SharePoint 2010Federated Authentication in SharePoint 2010
Federated Authentication in SharePoint 2010
 
Using BCS to integrate Azure Services with SharePoint 2010
Using BCS to integrate Azure Services with SharePoint 2010Using BCS to integrate Azure Services with SharePoint 2010
Using BCS to integrate Azure Services with SharePoint 2010
 
LINQ to SharePoint
LINQ to SharePointLINQ to SharePoint
LINQ to SharePoint
 
Solução de Negócio baseadas em Office 2010 e SharePoint 2010
Solução de Negócio baseadas em Office 2010 e SharePoint 2010Solução de Negócio baseadas em Office 2010 e SharePoint 2010
Solução de Negócio baseadas em Office 2010 e SharePoint 2010
 

Último

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Content Recommendation with SharePoint Search

  • 1. Content Recommendation with SharePoint Search André Vala SHAREPOINT SOLUTIONS ARCHITECT
  • 2. André Vala /47 2 ABOUT ME BLOG LINKED IN TWITTER EMAIL MEMBER OF MEMBER OF WORKS FOR andre.vala@create.pt @atomicvee http://blogit.create.pt/andrevala http://www.linkedin.com/in/andrevala  SharePoint Solutions Architect JOB TITLE Office365 PT SPUG PT
  • 3. Agenda • Content Recommendation • How does it work? • Reporting • Customization • Anonymous Users /47 3
  • 5. Content Recommendation What? • Providing relevant contextual content to users • “People who viewed this also viewed that” • “These are the most popular items” Why? • Enhanced user experience • Improved conversion (on e-commerce sites) How? SharePoint 2013 includes two out-of-the-box webparts • Recommended Items web part • Popular Items web part /47 5
  • 6. Recommended Items Web Part • Out-of-the-box Web Part • Similar to a Content Search Web Part • Shows list of recommended items related to the current content (“users who viewed this item also viewed these items”) /47 6 CONTENT RECOMMENDATION
  • 7. Popular Items Web Part • Out-of-the-box Web Part • Similar to a Content Search Web Part • Shows most viewed items • Can be filtered (by category, for example) /47 7 CONTENT RECOMMENDATION
  • 9. Demo Summary • Recommended Items Web Part • Popular Items Web Part /47 9 CONTENT RECOMMENDATION
  • 10. How does it work? /4710
  • 11. Architecture /47 11 HOW DOES IT WORK? Page with web parts Usage Reports Search Index Analytics Processing Component Event Store External Events Analytics Reporting DB User Admin 1 2 3 4 5 6 7 8 1 Usage events are recorded by the webparts and saved in the event store Usage events from the event store or from external events are periodically processed by the Analytics Processing Component 2 3 Recommendation and popularity data about each item is added to the search index 4 Processed usage events are also stored in the Analytics Reporting database 5 Recommendation and popularity data is used in the respective webparts and also to influence relevance in search queries 6 Popularity data from the search index and analytics reporting database is used in usage reports 7 8
  • 12. Usage Events • Default usage event types • View • Recommendation displayed • Recommendation clicked • Recorded by the web parts and saved to the Event Store • You can create up to 12 custom usage event types /47 12 HOW DOES IT WORK?
  • 13. Event Store Folder in the file system that stores usage event log files /47 13 HOW DOES IT WORK? 1_2015110618_AV-SP-VM01.log Event Type ID Year Month Day Hour Server
  • 14. Usage Event Log 1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:37 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/action 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:43 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=1 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:11:02 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/adventure CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:08 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=29 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:12 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/role-playing CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:23 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 /47 14 HOW DOES IT WORK? Event Type ID 1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 Item URL
  • 15. Usage Event Log 1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:37 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/action 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:43 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=1 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:11:02 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/adventure CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:08 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=29 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:12 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/role-playing CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:23 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 /47 15 HOW DOES IT WORK? Obfuscated User ID CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM Event Date and Time
  • 16. Usage Event Log 1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:37 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/action 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:10:43 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=1 368FF3A1C93F4A0E93FCA31050E074E72EFD0E372E1D7A0226BE9A9154AC51B8 11/6/2015 10:11:02 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/adventure CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:08 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=29 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:12 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/role-playing CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:23 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 1 http://dev.crt.pt/lists/games/dispform.aspx?id=19 CAEE05C7DB68BD3E356026EEF05D4AC9C0618D8B698DC315A95BC085D31CF5F1 11/6/2015 10:11:33 PM 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f 1 /47 16 HOW DOES IT WORK? Subscription ID 00000000-0000-0000-0000-000000000000 debd4ab4-1f06-48bb-aa62-86d4f227799e 23455e00-024d-47f0-8566-0b0817445c4f Site Collection ID Scope ID
  • 17. Usage Analytics Processing • Usage Analytics processing runs once every 24 hours • How to manually jump start it 1. Start Search Analytics 2. Push usage events to the Event Store 3. Prepare usage event files 4. Start Usage Analytics /47 17 HOW DOES IT WORK?
  • 18. Start Search Analytics Start the Search Analytics timer job $a = Get-SPTimerJob -Type Microsoft.Office.Server.Search.Analytics.AnalyticsJobDefinition $sa = $a.GetAnalysis("Microsoft.Office.Server.Search.Analytics.SearchAnalyticsJob") $sa.StartAnalysis() Check if the Search Analytics timer job is done $sa.GetAnalysisInfo() /47 18 HOW DOES IT WORK? > ANALYTICS PROCESSING
  • 19. Push events to the Event Store Events are pushed every 10 minutes through a Timer Job $tj = Get-SPTimerJob -Identity ("job-usage-log-file-import") $tj.RunNow() Check the event store C:Program FilesMicrosoft Office Servers15.0DataOffice ServerAnalytics_<GUID>EventStore /47 19 HOW DOES IT WORK? > ANALYTICS PROCESSING
  • 20. Prepare usage event files • Usage Analytics processes usage events from the previous day • Workaround to process current day • Copy usage log files to a custom folder • Make sure the folder is read-only • Run the job specifying the folder path /47 20 HOW DOES IT WORK? > ANALYTICS PROCESSING
  • 21. Start Usage Analytics Run the following PowerShell script $tj = get-sptimerjob -type microsoft.office.server.search.analytics.usageanalyticsjobdefinition $tj.DisableTimerJobSchedule() $tj.StartAnalysis("<hostname>Analytics_<guid>EventStoremyevents") $tj.EnableTimerJobSchedule() Check if the usage analytics job is done $tj.GetAnalysisInfo() /47 21 HOW DOES IT WORK? > ANALYTICS PROCESSING
  • 22. Recommended Items Web Part • Shows items whose recommendedfor property includes a token from the current URL • Display Template records usage events: • Recommendation Displayed • Recommendation Clicked • To generate recommendations, associated items must have been clicked by three or more different users /47 22 HOW DOES IT WORK?
  • 23. Popular Items Web Part • Shows items sorted by the ViewsRecent managed property (number of views of the item in the last 14 days) • Uses owstaxIdMetadataAllTagsInfo managed property for automatic filtering /47 23 HOW DOES IT WORK?
  • 24. DEMO How does it work? /4724
  • 25. Demo Summary • How events are recorded to the event store • Manually starting usage analytics processing • Configuring Recommended Items Webpart • Configuring Popular Items Webpart /47 25 HOW DOES IT WORK?
  • 27. Popular Items Report • Shows usage event statistics for all items in a list/library • Can be sorted by recent (last 14 days) or ever • Accessible from the list/library ribbon (Most Popular Items button) /47 27
  • 28. Popularity Trends Report • Excel report • Shows usage event statistics for a: • Site collection (from site collection administration settings) • Web site (from site administration settings) • List/library item (from list/library files ribbon) • Daily count for the last 14 days • Monthly count for the last 3 years /47 28
  • 29. Using PowerShell Get Usage Report https://msdn.microsoft.com/EN-US/library/microsoft.office.server.search.administration.searchserviceapplication.getrollupanalyticsitemdata.aspx Retrieves usage data (hits and users) for a site collection or a specific web site, for a single day or a whole month. $searchApp.GetRollupAnalyticsItemData Get Search Report https://msdn.microsoft.com/EN-US/library/microsoft.office.server.search.administration.searchserviceapplication.getsearchreport.aspx Retrieves the search report (top queries) for one or all site collection, for a single day or a whole month. $searchApp.GetSearchReport /47 29
  • 31. Demo Summary • Popular Items Report • Popularity Trends Report • How to retrieve reporting data using PowerShell /47 31 REPORTS
  • 33. Custom Event Types Get the site collection $Site = Get-SPSite "http://localhost" Create a custom usage event type $SSP = Get-SPEnterpriseSearchServiceApplicationProxy $EventGuid = [Guid]::NewGuid() $EventName = "MyEventType" $tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty) $newEventType = $tenantConfig.RegisterEventType($EventGuid, $EventName, "") $tenantConfig.Update($SSP) /47 33
  • 34. Record a Usage Event window.LogMyEventTypeToEventStore = function(url) { ExecuteOrDelayUntilScriptLoaded(function() { var spClientContext = SP.ClientContext.get_current(); SP.Analytics.AnalyticsUsageEntry.logAnalyticsEvent( spClientContext, 256, url); spClientContext.executeQueryAsync( null, Function.createDelegate(this, function(sender, e){ alert("Failed to log event for item: " + document.URL + " due to: " + e.get_message()) }) ); }, "SP.js"); } /47 34
  • 35. Event Recommendation Weight $SSP = Get-SPEnterpriseSearchServiceApplicationProxy $tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty) $event = $tenantConfig.EventTypeDefinitions | where-object { $_.EventTypeId -eq 256 } $event.RecommendationWeight = 2 $tenantConfig.Update($SSP) /47 35
  • 36. Recent Popularity Time Frame $SSP = Get-SPEnterpriseSearchServiceApplicationProxy $tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty) $event = $tenantConfig.EventTypeDefinitions | where-object { $_.EventTypeId -eq 256 } $event.RecentPopularityTimeFrame = 7 $tenantConfig.Update($SSP) /47 36
  • 38. Demo Summary • Create custom usage event type • Recording custom usage event • Changing event recommendation weight • Changing the recent popularity time frame /47 38 CUSTOMIZATION
  • 40. Recommendations for Anonymous Users • Requires usage cookies • Cookies that identify a user session using a GUID • Lifetime of 14 days • By default usage cookies are disabled for SharePoint web applications • By default, only the View event type can be recorded for anonymous users /47 40
  • 41. Allow Event Recording for Anonymous Users Get Search Service Application $SSP = Get-SPEnterpriseSearchServiceApplicationProxy Get a usage event type $tenantConfig = $SSP.GetAnalyticsTenantConfiguration([Guid]::Empty) $event = $tenantConfig.EventTypeDefinitions | where-object { $_.EventTypeId -eq <EventTypeId> } Enable the recording of a usage event for anonymous users $event.Options = [Microsoft.Office.Server.Search.Analytics.EventOptions]::AllowAnonymousWrite $tenantConfig.Update($SSP) /47 41
  • 43. Demo Summary • Enabling the usage cookies in a web application • Enabling anonymous recording of events other than “view” /47 43 ANONYMOUS USERS
  • 45. Key Takeaways • SharePoint records and analyzes usage data to calculate • Item popularity (view count) • Item recommendations (item relationships) • SharePoint includes two out-of-the-box web parts • Recommendation features are based on Search • Recommendation features are customizable • Create custom usage event types • Change recommendation weight • Change recent popularity time frame /47 45
  • 46. References How to display recommendations and popular items in SharePoint Server 2013 https://technet.microsoft.com/en-us/library/dn794244.aspx Overview of analytics processing in SharePoint Server 2013 https://technet.microsoft.com/en-us/library/jj219554 Configure recommendations and usage event types in SharePoint Server 2013 https://technet.microsoft.com/en-us/library/jj715889.aspx#BKMK_CreateCustomUsageEventType View usage reports in SharePoint Server 2013 https://technet.microsoft.com/en-us/library/jj715890.aspx Bella Engen’s blog http://blogs.technet.com/b/tothesharepoint Waldek Mastykarz’s blog http://blog.mastykarz.nl /47 46

Notas do Editor

  1. Why? The output from Search Analytics is used by Usage Analytics to map usage events against the actual items in the search index.