I have a Communication Sites and Team Sites in my SP 2019 farm.
Problem:
Communication Site - It does not showing Site visits (Always return Zero) but in the New Items has the value in Site Analytics also Popularity Trends returns the some valid data. Its subsite also showing number of Site visits.so problem is only raising on root site collection
Team Site - It was working fine. It shows number of Site visits and New Items in Site Analytics
Anyone help me on this!!