We've implemented Google Analytics in our site, tracking user-id in both the tracker's userId property, and a custom dimension. The problem is, while the custom dimension shows the number of distinct values we expect, the user-id is being tracked inconsistently.
For example: in a given period where we expect four unique visitors to be reported, we get that from our custom dimension, but the user-id shows only three. Drilling down gives us this report:
(this example uses data from the 14th-16th, and was run on the 17th)
There are clearly four rows - as expected - but the total is showing as three. What's going on here? Am I misunderstanding the way GA tracks users?
Extra info:
Our site is a subscription site so users have to login at the beginning of their session and we use the unique identifiers provided by our authentication system for UserID.
We checked our unfiltered UserID view and the user count there is correct, so we are thinking this might be a problem with one of the filters applied on the main view. One of the users logged in at work and then from home the next day during the date range in question, so could the internal traffic filter be interfering with the user count?
The site's traffic is currently very low (as the number of users implies,) and the date range is very small so I wouldn't expect any sampling to be happening.
