The event is successfully logged in Project A -> iOS app A google analytics dashboard. However, I also want to forward it to project B -> iOS app B. I saw here:
How can we use more than one Google Analytics tracking Id in Google Analytics for Firebase in android and ios
That could be done through google tag manager:
https://developers.google.com/tag-platform/tag-manager/ios/v5
But so far I am not succeeding. Yes, I see is pretty straight forward on web with javascript, but I need to get this done on iOS.
Related
I have implemented firebase to my iPhone app, in Google analytics on my Macbook I can see the reports when I switch Property in Admin section. But I can't see the data on Google Analytics application, all I can see is "All mobile App Data", which is basically just Google data after implemented Google analytics tracking code, not Firebase tracking.
Is there any way to see Firebase analytics data on the iphone app or do I have to implement Google analytics tracking code as well?
Or is there better tool for app analytics?
Thank you for suggestions
With Firebase installed, you can either:
Use Firebase Reporting in GA, which just displays the Firebase Analytics interface in GA.
Install GTM on your app alongside Firebase and use GTM to fire off tags to GA when certain Firebase events are fired.
Firebase mobile integration and GA mobile intergration are separate things.
I have an app with some native screens and some additional content I load via UIWebView. I am trying to track both native and web content into the same google analytics account. I'm able to create an account that tracks web and I can create a separate account that tracks the native screens. How can I combine this tracking into a single account?
Track web code using ga.js and native code using GA iOS SDK
You should have a UA account ID of the sort "UA-xxxxxxxx". If you use this
same Analytics tracking ID across your web app & native iOS app, all your data will end up in the same Google Analytics bucket. Obviously, you'll have to use the javascript library in your web app and native SDK in your iOS app.
Alternative Solution (I dont really recommend this)
You can you have your web app pipe in your GA events into your iOS app. How I did this in the past was like so.
I created a special GA codes like myapp://ga-pageview/<pagename> and myapp://ga-event/event_category/event_name.
Use the UIWebViewDelegate method webView:shouldStartLoadWithRequest:navigationType: to intercept these "special" urls and do the GA callback natively.
In the web app, whereever you need you need call a GA event, create an iframe with the myapp://ga-* url scheme above. Then remove that iframe.
I have iOS application that I would like to promote on different web-sites.
In Google Store I can record Campaign name and use it in application. I'm looking for something similar for iOS but I can't find.
Is it possible at all?
Try to use Mobile App Tracker. It has ability to track publishers statistics. For example it could track how many users installed your app, first sales, custom events and etc. from each promote web site,
There is a Google Analytics SDK for iOS. This link leads to the iOS page for campaign measurement in Google Analytics. As far as I can tell, it works exactly the same as the Android SDK that you linked to in your question. Good luck!
I have a button in my app that opens a map app with directions how to drive there.
I have Apple Maps working and working on Google Maps integration. But if the user has other apps that can open directions I would like to give him a choice of all of them.
Is there a way to programatically figure out all the apps that can open maps/directions?
Nope. Not that I am aware of that will still allow you to get approved by Apple. iOS applications currently don't get to access this sort of information due to the sandboxed environment. You can see if any of the other popular maps applications have publicly available SDK's for you to integrate into your application.
We have a commercial web application and we are planning to develop android and iOS apps(free) for our customers
Is google maps ios sdk is free to use in my app?
we want to open google maps app from our app using custom url scheme to show driving directions. Does this approach have any restrictions?
There is nice FAQ about your questions on Google Developers website:
Is google maps iOS SDK free to use in my app?
Yes
we want to open google maps app from our app using custom url scheme to show driving directions. Does this approach have any restrictions?
Google Map API for Business - Usage Limits
The google maps iOS sdk is free for use. i have already integrated google map api functionality on one of my phonegap application. After making some minor changes in to the sdk you can enable the real time navigation on the google map as well.
so you can do a lot with the google sdk.
Hope this will help.
It actually depends, if you are using advanced feature eg Street View, it charges, but for basic feature, it is free for native app, but JS query is not free (eg wrapped by Webview) is not free.
Checkout the official website for more detail and accrete information: https://developers.google.com/maps/documentation/ios-sdk/usage-and-billing