Sample project, with Google Analytics usage [Xcode Project][1]
Actually i have create a phoneplugin for google analytics. My code seems to be working fine, but when i tried adding my code to an existing project , i am getting bad exc error. I really cant find why can the code work on a new project but doesnt work on a old project.
Code works really well in a new project. I can see the data in analytics dashboard and everything works fine in it
You've turned on the User-ID feature in your view settings but haven't configured it. User-ID tracking needs an additional code implementation and if it's not done, your Google Analytics view will contain no data.
Event Tracking (Behavior > Events) in Google Analytics is the section to list website errors, such as: 400, 401, 403, and 404, and 500 error pages; Form validation errors.
Data processing latency Processing latency is 24-48 hours. Standard accounts that send more than 200,000 sessions per day to Analytics will result in the reports being refreshed only once a day. This can delay updates to reports and metrics for up to two days.
following the documentation :
First you will need a Google Analytics tracking ID to track application usage with the SDK.
Second continue by adding the header files (GAI.h, GAITracker.h, GAITransaction.h, and GAITransactionItem.h) and libGoogleAnalytics.a to your XCode project. Your app must link the following frameworks: 1- CoreData.framework 2- SystemConfiguration.framework
NB:To use a version of the library with debug symbols intact, link against libGoogleAnalytics_debug.a instead of libGoogleAnalytics.a. This may be useful if you experience exceptions or crashes originating in the SDK.
BR
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With