Let’s start with this. There might be multiple reasons why Sitecore Analytics is not recording data, but here are the most common in my opinion.
First, you need to check if you actually don’t see any new records in the Interactions collection of the MongoDB database. You will need a MongoDB client, like Robo3T for this.

If you don’t see data in there, try verifying your connection to Mongo in the ConnectionString.config. Although, I would start by checking I have connection to the Mongo server in the first place. Robo3T can also give you a hand if you have installed it:

Now, let’s verify you can also see data in the “Fact_Visits” table of the reporting database. This needs to be done in the SQL server though, with any SQL client of your preference as before. I will use SQL Management Studio just for habit.

If you don’t see data, that means the tracking is not working. Again, let’s start with the basics validating you have access to the reporting database as well as checking the ConnectionStrings.config configuration.
Let’s move to your application by checking if you are inheriting the default Sitecore.Web.Application in your Global.asax that is usually handled in your global web project:

Finally, let’s check you are using the robot detection component on the layout of your pages or the component you are using.
<head runat="server"> <title>Title</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> ... <sc:VisitorIdentification runat="server" /> <!-- Use this if you are using MVC layouts --> @Html.Sitecore().VisitorIdentification() </head>
In conclusion, there are many reasons why you might not see data displaying in Experience Analytics. We just have seen the most common ones, but hopefully the one that you needed.
Reference