Where to set User Properties in iOS for Firebase Analytics? - ios

I have several user types:
Type A, Type B, Type C
User has to chose its type at time of sign up and it gets fixed for a particular user.
A user cannot change its type. How can I set User property so that a particular event can be filters using User Type?
Suppose event is logged by name : example_event
I want to check that how many users of type A triggers example_event?

Go to UserProperty tab in Firebase console of your project. Click NEW USER PROPERTY.
Enter a name and description for the user property, then click CREATE.
Let's suppose you have set USER_TYPE as Firebase property .
Now you can fire this property using below code .
Analytics.setUserProperty(USER_TYPE, forName: "A/B/C")
It will take some time to reflect on your Events tab of your Firebase project console.

Related

How to find out Azure KeyVault AccessPolicy Changes

I have a requirement to Audit all changes in AccessPolicies of Azure KeyVaults. I see that there is some event getting written in ActivityLog of the AKV. But I only see who has initiated the change (Caller) But Activity does not tell me what level of access has been provided to AKV.
In order to view what level of access has been provided/removed from your AKV, you can select the Operation name from your Activity Logs -> Change History -> Select properties.accessPolicies - AKV Activity Log screenshot.
Once on the "Changed Properties" screen you can select your desired property to see the old value and new value correlating to a ObjectID (user, group, service principle). Old Value/New Value screenshot]

Firebase remote config - Conditional parameter cannot select "User propertier"

I have added custom properties to users, like anonymousId, favoriteX and so on, but in firebase remote config ui I cannot create a condition like
for user that has property anonymousId = qa then set value of property to somevalue.
I fixed the issue.
That menu is enabled only after specified custom definitions in firebase, where user is the scope

Mixpanel UUID Retrieving

I have to retrieve UUID of user from mix panel, The expected scenario, need to append inviter UUID to their invited user events.
And how to perform increment feature for people properties in mix panel?
Mixpanel's unique identifier is called distinct_id.User can be identified by its Unique identifier as well using "distinctId" property you can retrieve user's identifier.
Mixpanel *mixpanel = [Mixpanel sharedInstanceWithToken:#"Token"];
[mixpanel identify:mixpanel.distinctId];
Same way we can access .distinctId property to retrive user details.
People property increments with no of people follow the same event.
[mixpanel.people increment:#"Event Name" by:[NSNumber numberWithInt:1]];

Adding blocking users to a list

Example: Twitter user A is blocked from Twitter user B.
If I use lists/members/create, it won't let me add user B to a list user A created. Correct.
If I use lists/members/create_all with user B in the list of users , it will let me add user B to a list created by user A. WRONG.
Is it supposed to be like that or is it a bug?
It's one of the many bugs with Tiwtter's list endpoints. (You still shouldn't get their Tweets when you get the list feed.)

Umbraco - Automatically sync the Content Node Name with a doc type property

Am using Umbraco 4.11.10
Is there a standard way to create a document type property which when updated, automatically syncs with the content node name?
I know this can be done in the Properties section in the Name field but that field cannot be moved from the properties tab and it is a little out of the way - users get confused.
How is this usually done?
Wing
There are some special use umbraco field aliases. One is umbracoUrlName which will override the page url - just add it to your doctype and put it in whichever tab you want to change the url from.
EDIT
Another option would be to create a custom data type and use it to create a field that overwrites the node name. Add a text field as the UI of the custom data type; add an event that is fired whrn the textbox changes and update the name.
http://our.umbraco.org/wiki/reference/api-cheatsheet/modifying-document-properties
// Get the document by its ID
Document doc = new Document(node.Id);
// Get the properties you wish to modify by it's alias and set their value
// the value is saved in the database instantly!
doc.getProperty("name").Value = <input textbox value?;
// After modifying the document, prepare it for publishing
User author = User.GetUser(0);
doc.Publish(author);
// Tell umbraco to publish the document so the updated properties are visible on website
umbraco.library.UpdateDocumentCache(doc.Id);

Resources