Testing Google Analytics Implementation?

I’m building out Appium tests for an iOS application for a client. We are using Google Analytics in the application, and the client has requested automated testing to verify that GA tracking is working as expected.

Does anyone have experience implementing automated testing for Google Analytics or any other type of iOS application tracking?

Thanks!

-Elysia

Its interesting … are those analytics are exposed as @tag or by any other way ?

Any updates regarding this

I don’t think Appium itself would match such purpose. Although, it might be possible to simulate the tracked action(s) with it and then, by having a separate Tracking API client inside the test framework, verify the whether the expected data (generated because of the automated actions) appears on Analytics servers.
Also, it makes sense to make such testing in an isolated environment, so let say, manual interactions with the target app or other automated tests running in parallel don’t affect the tracking results.