Closed stevebauman closed 4 months ago
This issue should now be solved in Short URL v8.0. If the user agent parser can't detect the data, the fields will be stored as null
rather than false
😄
Release notes for v8.0: https://github.com/ash-jc-allen/short-url/releases/tag/v8.0.0
Some of our Short URL visits contain zeros in their browser fields due to some visits being made by browsers not sending a user agent. This causes Jenssegers
Agent
to returnfalse
from its user-agent methods, and that value is being stored, making it tricky to query, since they don't contain anull
value (i.e.where not null operating_system
):Since these are nullable columns, we should just omit these from being set and leave them
null
, so when running analytics, they can be excluded usingwhere not null
.