Posts

Showing posts with the label Analytics

Sitecore Analytics Issues and Troubleshooting

Image
After migrating an application from the SharePoint platform to Sitecore, observed that Marketing Applications such as Experience Analytics, Experience Profile, and Path Analyzer do not display data or an error. Experience Profile: Experience Analytics: Path Analyzer: There can be multiple reasons behind this issue. Any one of these reasons could be the cause, or several might apply to your situation. In this blog post, I will discuss all the possible reasons and provide troubleshooting steps to help you capture and view the Analytics data in Sitecore. 1. Certification Issue: For a deeper exploration of this topic, I have written a separate blog post that addresses this issue in detail. You can find the blog post here: Sitecore Analytics: The Certificate was not Found 2. Experience Profile does not display Data: After addressing the Certification Issue, I can see the analytics data in my Shard0 and Shard1 databases but contact is not displaying in...

Sitecore Analytics: The Certificate was not Found

Image
One of the frequent challenges we face is the absence of Analytics data in the Sitecore Experience Profile. This issue can be quite frustrating, but there is a solution. In this blog post, I will delve into the reasons behind the "The certificate was not found" problem and explain how to resolve it using Azure Managed Cloud Service PaaS. In this case, The very first step is analyzing logs on the CD and xConnect server. I have checked the xConnect Collection server's log and it seemed to stop, which suggested that there had been some issue with xConnect trying to collect the analytics data. In this case, I have to look into the CD server. I found a lot of xDB-related errors in the CD server, with a similar stack trace as below. Error: xDB unavailable when submitting contact The nested error seems to suggest the error is related to the missing client certificate required for xConnect and xDB communication. The amount of Submit Qu...

Work with Custom Facet in Sitecore 9

Image
In this blog, you can find details about how to set, fetch and update custom facet models to XDB. To know about how to create a custom facet model please find my previous blog  here . Facet will be saved with respect to the Contact, whether it is new or existing contact. If contact does not exist, then create a new contact and add it to XDB if it exists then get that contact first. I am starting this blog by setting new custom facet properties, later fetching the existing facet and updating the properties, and saving it to XDB.  You need to use  client.SetFacet()  method to set or update facet. Add a new custom facet: In this following example, I am adding the  CustomFacetInformation  facet on contact. This contact does yet not have the  CustomFacetInformation  facet. You need to create a new object of facet then assign properties and set it to contact. u...

Create Custom Facet in Sitecore 9

Image
Sitecore XConnect provides some default collection model to save user data like Personal Information, Email, Address, etc. the complete list you can find in an assembly named  Sitecore.XConnect.Collection.Model.dll . Sometimes as per our business requirement, we need to add some additional information to the collection model with the respective user. In this blog, I will explain how to create a user custom facet model and register it to the Sitecore XDB collection model. You need to perform the below steps to achieve this: Step 1: Create a Custom Facet Model [FacetKey(DefaultFacetKey)] [Serializable] public class CustomFacetInformation : Facet { public const string DefaultFacetKey = "CustomFacetKey"; public CustomFacetInformation() { } public string CarModel { get; set; } public string PassportNumber { get; set; } public string PreferredLanguage { get; set; } } Here DefaultFacetKey is facet key name. You can get ...