View counter in strapi: With lifecycle hooks? But how to use them?

Great - again thanks a lot for your reply!

And maybe you can help me with my last question: Will this afterFindOne also run if I query the data with graphQL?

I don’t think so but I’m not sure.

Do you know another/better approach just based on graphql queries?

Best regards,

Timo