kalnyc67 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Use of undeclared identifier 'allowIDFACollection' when following documentation #505

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): iOS SDK 3.0.3

Issue summary:
We are trying to enable IDFA collection in our iOS mobile app. We followed the 
instructions at 
https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad but we're 
getting the error message: "Use of undeclared identifier 'allowIDFACollection'.

Steps to reproduce issue:
1. Link libAdIdAccess.a and AdSupport.framework
2. Add the line [self.tracker set:allowIDFACollection value:@YES];
3. Try to validate in the Google Analytics web app

Expected output:
Validation should be successful and demographics and interests should flow into 
Google Analytics for reporting.

Actual results:
Received error message above

Notes:
We found this: 
http://words.andjosh.com/post/fix-to-enable-display-features-google-analytics-io
s-sdk and tried it without getting any code errors, but the validation is 
failing even after waiting more than 24 hours in the Google Analytics web app. 
Now we are trying to directly set the property with 
self.tracker.allowIDFACollection = YES; and it doesn't throw an error but 
validation still isn't working.

Original issue reported on code.google.com by HelloTel...@gmail.com on 3 Oct 2014 at 4:00

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 10 Oct 2014 at 6:25

GoogleCodeExporter commented 9 years ago
see
https://developers.google.com/analytics/devguides/collection/ios/v3/display-feat
ures

Original comment by pfrise...@google.com on 23 Mar 2015 at 6:29