Google analytics for multisite setup


My setup is multisite with subdirectories. Each subdirectory are sites for each country. We will have 70 in total. So for example we have as our main site and then we have each country set like this, and so on.

I would like to set up google analytics and have individual tracking codes for each country. This can be done for domains and sub domains but seems there are no guidance on what I can do for subdirectories. I'd like to be able to track each subdirectory as their own analytics and not interlinked to one another.

If you're able to suggest plugins and do step by step then that would be great. I've been searching for a few days now on the best way to implement google analytics but I can't find what I need.