For the Website owner it is important to know how the data is accessed in order to understand the flow. This information will be used in Website personalization process to optimize. For the content page we can use Path Analyzer. For media assets it is a different story. In our case a visitor cans download from landing page, case study detail page and search results page. He has to find a way how to track in xDB all PDF downloads regardless from where the visitor access it.
Monthly Archives: October 2017
How to track PDF download
How to add setup Sitecore to track PDF download and associate the download event to a goal.
How to exclude a list of specific items from Solr search results
I’m pretty sure that happens to you to look for items that match specific criteria except few specific ones. We all have friends that don’t know what they want, but they know what they don’t want. (I love you baby).
In my case, the client wanted a list of case studies specific to an industry except those that the visitor already saw. The first thought is to get results from Solr and then filter those already seen. But what about metadata that helps us implement paging, or just get first 10 items ? Do we need another query ? Tee answer is to sent exclusion param with our query .
Switch Solr indexes on Rebuild
The content rendered on the Website should not be affected by index rebuild. A solution to that is to setup Solr in a way that it will rebuild an index in a separate core so that the rebuilding does not affect the search index that is currently used. Once the rebuilding and the optimization of the index completes, Sitecore switches the two cores, and the rebuilt and optimized index is used.
I will describe the implementation steps with Sitecore 8.2 and Solr 5.3.1. I don’t expect this to be different with newer version.
FXM Tracking error
Lately, I was analyzing Sitecore logs and I found recurring error indicating that evaluation of condition failed. Rule item ID: Unknown, condition item ID: {1411557E-EB7F-4150-A369-1E89E6FAC133}.