# How to add analytics to Xojo based iOS app

**URL:** <https://ifnotnil.com/t/how-to-add-analytics-to-xojo-based-ios-app/1546>\
**Category:** iOS\
**Created:** [15 February 2021 00:48 UTC](https://ifnotnil.com/t/how-to-add-analytics-to-xojo-based-ios-app/1546 "2021-02-15T00:48:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![supcumps](https://ifnotnil.com/user_avatar/ifnotnil.com/supcumps/32/362_2.png) [@supcumps](https://ifnotnil.com/u/supcumps)\
**Post date:** [15 February 2021 00:48 UTC](https://ifnotnil.com/t/how-to-add-analytics-to-xojo-based-ios-app/1546/1 "2021-02-15T00:48:16Z")

</div>

I am trying to figure out the best way to collect information about how the user views an app and where there are problems. I know that xcode has the ability to build this into iOS apps. Does anyone have any suggestions?  
Phil

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [15 February 2021 02:03 UTC](https://ifnotnil.com/t/how-to-add-analytics-to-xojo-based-ios-app/1546/2 "2021-02-15T02:03:33Z")

</div>

There is nothing built in so it will be “roll your own”

---

<div class="post-metadata">

**Author:** ![HalGumbert](https://ifnotnil.com/user_avatar/ifnotnil.com/halgumbert/32/2198_2.png) [@HalGumbert](https://ifnotnil.com/u/HalGumbert)\
**Post date:** [15 February 2021 14:16 UTC](https://ifnotnil.com/t/how-to-add-analytics-to-xojo-based-ios-app/1546/3 "2021-02-15T14:16:50Z")

</div>

I remember reading about how you can use Google Analytics. I’m not sure how you embed it, but I’d imagine little html viewers here and there…

---

<div class="post-metadata">

**Author:** ![beatrixwillius](https://ifnotnil.com/user_avatar/ifnotnil.com/beatrixwillius/32/24_2.png) [@beatrixwillius](https://ifnotnil.com/u/beatrixwillius)\
**Post date:** [15 February 2021 17:42 UTC](https://ifnotnil.com/t/how-to-add-analytics-to-xojo-based-ios-app/1546/4 "2021-02-15T17:42:44Z")

</div>

For the desktop there is the Google Measurement Protocol. The project is for desktop: [Example for Google Measurement Protocol](https://www.mothsoftware.com/downloads/GoogleAnalytics.zip)

The result ends up in Google Analytics which is fed into Google Data Studio. I make VERY SIMPLE usage statistics that don’t track individual users.

I think that there is a way to let an iOS app talk directly to Google Analytics.

Analytics on iOS currently is in flux because of the new privacy in iOS.

---

<div class="post-metadata">

**Author:** ![supcumps](https://ifnotnil.com/user_avatar/ifnotnil.com/supcumps/32/362_2.png) [@supcumps](https://ifnotnil.com/u/supcumps)\
**Post date:** [15 February 2021 20:43 UTC](https://ifnotnil.com/t/how-to-add-analytics-to-xojo-based-ios-app/1546/5 "2021-02-15T20:43:11Z")

</div>

Thank you. An interesting approach and will be useful in the future, when I complete the desktop version of my app.
