I use the Google Analytics SDK for iOS for event traffic and page views. It works great.
When I code / debug an application, I don’t want Google Analytics to traffic my events or pageviews because they are useless. So, is there a way to exclude self-service on the iPhone using the Google Analytics iOS SDK?
Thank.
What I do for Google Analytics, I have a separate account identifier for live applications and for debugging.
, plist. , , .
#ifndef , . __DEBUG__, :
__DEBUG__
#ifndef __DEBUG__ //code to start analytics tracking #endif
, / .