Cant validate tracking code for demographic reports using Google Analytics iOS SDK with IDFA


I'm trying to gather Demographics and Interest Reports for my iOS app users using the Google Analytics iOS SDK.

I have enabled Demographics and Interest Reports in my Google Analytics dashboard. I also installed the GoogleIDFASupport pod (Cocoapods), and set the following code in my app delegate:

#if DEBUG #else let gAnalytics = GAI.sharedInstance() gAnalytics.defaultTracker.allowIDFACollection = true #endif

I have been testing the app multiple times, and running in Release scheme on my iPhone, and the app is also currently waiting for review in the App Store.

When I login to the Google Analytics dashboard, and go to the Demographics and Interest Reports section, it tells me that I have enabled it, but also presents a button that says "Validate tracking code". If I click the button, the page just refreshes and tells me that "Your Analytics tracking code does not include the necessary support for the Demographics and Interest reports."

How can I validate the tracking code?


I ended up just ignoring the warning and skipping the validation. The demographics stats have been showing up just fine.


  • IONIC:Unable to install phonegap-plugin-push in ios app
  • Leaking NSAutoreleasePool
  • iOS sharing data between viewcontrollers
  • App rejected by Apple caused by using Google Maps SDK
  • CorePlot 1.2 - pod install no response
  • How do I observe a signal and immediately receive a `next` event if it has already occured?
  • access parent project OTHER_SWIFT_FLAGS from pod
  • Highcharts - Column chart with empty columns for date in x-axis
  • Configuring multiple DefaultJmslistenercontainerfactory
  • How gzip file gets stored in HDFS
  • What is the default HTTP verb in WebApi ? GET or POST?
  • SQL - Select lowest values with group by and order by?
  • Does Apportable support to build library binary (.a/.so)?
  • Why use database factory in asp.net mvc?
  • How can I speed up CURL tasks?
  • how to save the state in userdefaults of accessory checkmark-iphone
  • MonoTouch: How to download pdf incrementally as indicated in the Apple slides “Building Newsstand Ap
  • Limiting recursion to certain level - Duplicate rows
  • preg_replace Double Spaces to tab (\\t) at the beginning of a line
  • Extracting HTML between tags
  • Can I check if a recipient has an automatic reply before I send an email?
  • ImageMagick, replace semi-transparent white with opaque white
  • Repeat a vertical line on every page in Report Builder / SSRS
  • Android screen density dpi vs ppi
  • Getting last autonumber in access
  • Bug in WPF DataGrid
  • Possible to stop flickering java tooltip in heavyweight mode?
  • sending/ receiving email in Java
  • Getting 'uninitialized constant' error when using delegate in belongs_to in model
  • Benchmarking RAM performance - UWP and C#
  • Acquiring multiple attributes from .xml file in c#
  • Suggestions to manage Login/Logout transitions
  • How to set the response of a form post action to a iframe source?
  • -fvisibility=hidden not passed by compiler for Debug builds
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Change div Background jquery
  • Qt: Run a script BEFORE make
  • How can I remove ASP.NET Designer.cs files?
  • reshape alternating columns in less time and using less memory
  • java string with new operator and a literal