audienceManagerGetProfileAttributes
Deprecated
This method is no longer recommended. Audience Manager is no longer available in the latest product version.
The audienceManagerGetProfileAttributes() method returns profile attributes. You can only access attributes that have been granted access.
Syntax
[[PiwikTracker sharedInstance] audienceManagerGetProfileAttributes:^(NSDictionary *attributes, NSError * _Nullable errorData) {
// do something with attribute list
}];
Parameters
attributes (output)
The dictionary of key-value pairs. Key: attribute name. Value: attribute value.
errorData (output)
The error string. If an error occurs, only this method will be called.
Examples
To get profile attributes:
[[PiwikTracker sharedInstance] audienceManagerGetProfileAttributes:^(NSDictionary *attributes, NSError * _Nullable errorData) {
// Do something with the attribute list
}];
Notes
- You can only access attributes that have been granted access.
Related methods
- checkMembershipWithAudienceID() (deprecated)
- sendProfileAttributeWithName() (deprecated)
Updated 2 days ago