Google Analytics deleting Custom Dimension values after a day[ Edited ]
March 2017 - last edited March 2017
I am using a User-scoped custom dimension to send the User ID with every hit after users log in. This user ID is just an internal database identifier for the user and contains no PII (e.g. 219917035). Although I have a separate User-ID enabled view, I need to have this as a custom dimension as well, so that I can segment users by ID (Advanced Segments) and get the data into the GA BigQuery export (the View that is connected to BigQuery is not User-ID enabled).
When I query today's data in GA, I can clearly see the Custom Dimension value coming through with the hits and showing up in the reports.
However, after a day passes, the data I saw during the day is completely gone: it looks like Google Analytics is completely removing the Custom Dimension values when it processes the daily data. This is not happening with my other custom dimensions.
Does anyone know what might be causing this? Is it possible that GA is somehow filtering the Custom Dimension values and considering them PII for some reason?