3

In my dev machine I am not getting any interactions added in interaction table of mongo db. My session state entry in web.config is as follows:

<sessionState mode="InProc" cookieless="false" timeout="2" sessionIDManagerType="Sitecore.SessionManagement.ConditionalSessionIdManager">
  <providers>
    <add name="mongo" type="Sitecore.SessionProvider.MongoDB.MongoSessionStateProvider, Sitecore.SessionProvider.MongoDB" sessionType="Standard" connectionStringName="session" pollingInterval="2" compression="true" />
    <add name="mssql" type="Sitecore.SessionProvider.Sql.SqlSessionStateProvider, Sitecore.SessionProvider.Sql" sessionType="Standard" connectionStringName="session" pollingInterval="2" compression="true" />
  </providers>
</sessionState>

Both in mongo db and sql tables like Fact_PageViews values are not getting updated.
I tried to copy App_Config and web.config from another machine where interactions are getting loaded, still interactions are not getting updated.
I have tried solutions given in links like sitecore community but still got no luck. Please give me some suggestions on how I can get it working.
Note: I have tried recycling app pool to get data into mongo db but no data was added.

  • What version of Sitecore? 8.2 Update 3 and above no longer track anonymous users by default. waitingimpatiently.com/… – Chris Auer Nov 24 '17 at 4:13
  • 1
    Also gibe this accepted answer a read. It has solved these issues more than a few times. sitecore.stackexchange.com/questions/3186/… – Chris Auer Nov 24 '17 at 4:14
  • @ChrisAuer I am using sitecore 8.1 rev 151207. I will read the question and update.Thanks.. – Anjo Nov 24 '17 at 4:35
  • @Anjo- Is this still an issue? – Ankit Joshi Nov 29 '17 at 12:53
  • @AnkitJoshi still i am getting issue, but its not consistent. Sometimes data coming sometimes not. – Anjo Nov 29 '17 at 15:47
1

Here are a few things you can try:

1- Ensure mongodb is running. If configured as a service validate whether it's running properly

2- Check that your /App_Config/ConnectionStrings.config file has been correctly updated to reference your Mongo instance and reporting database instance, and that they can be accessed from your Sitecore instance.

3- Ensure you have the @Html.Sitecore().VisitorIdentification() in the section of your layout CSHTML file.

4- Make sure your Analytics is enabled. For Sitecore version 8.0 look for <setting name="Analytics.Enabled" value="true" />. For versions 8.1+ look for <setting name="Xdb.Enabled" value="true" />

if you still can't capture data I suggest reviewing these link1 and link2

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.