Is it Possible to Filter a Document by how many Views it has as a Field?
Last updated: Sep 8, 2022
Hi, how can I possibly filter a document by how many views it has as a field ?
Sep 8, 2022, 5:35 PM
There’s nothing built into Sanity to track views, so you’d need to implement that aspect yourself. You could then store that data (either on the document, in a separate document, or outside of Sanity) and would need to factor it into your queries.