Not all of it but some, these apps requests access to a large number of resources on your phone, so it is not "just" facebook activity that gets logged.. and then later pulled by Cambridge Analytica.
If you run it in a browser you are sandboxing your activity to the browser, of course that doesnt keep you from using those "how would I look as a viking" apps or whatever that also harvests your data.
Not using the apps is a good first start.
https://www.usatoday.com/story/tech...t-cambridge-analytica-data-scandal/446863002/