How to get User's table from Firebase events in BigQuery? - google-bigquery

I am trying to look at old events based on user's current values. Events from Firebase Analytics are exported in single table together with User data(user data is part of event record).
How can I join old event to current user? Is it possible to export User table separately?
Thanks!

You can identify a user with either user_dim.app_info.app_instance_id, user_dim.device_info.resettable_device_id or user_dim.user_id. You can read more about these fields in this help center article.

Related

Best approach to update an existing event in multiple Microsoft accounts using Microsoft Graph API

I am working on a calendar synchronization between my application and personal calendars of the users. The idea is that every time an event is created or updated, this event is sent to the personal calendar of the users (they can choose syncing to Google Calendar and/or Microsoft accounts calendar).
I have this complete flow working with Google Calendar and now I am working with Microsoft oAuth and Graph API to make it work either for MS Calendars.
Currently, for MS, I have the following scenario implemented and working:
User authorizes the application to access its calendar through consent page
Server exchanges the authorization code for an access token
I can insert an event in user's calendar using its access token as Authorzation header through Microsoft Graph API (POST https://graph.microsoft.com/v1.0/me/events)
Now I am trying to figure out how I can manage event updates (when start date changes, for instance, how I will send this update for each user's MS account), knowing the following constraints of Microsoft Events API:
Property "ICalUId" is generated by MS API itself and returned in the response of Insert endpoint. I can't insert an event with my own ICalUId. This is possible with Google Calendar and very useful, because if I send an event with an existing iCalUId to import endpoint, Google updates this existing event with the sent data, and if the iCalUId doesn't exist, Google creates the event (it performs an upsert-like action).
For each event inserted at different users calendar, a new "ICalUId" is generated, even if I am sending the same event object to insert. So I get many iCalUId's for the same event, this adds complex in tracking this event in users calendars, different from Google Calendar as I mentioned before.
So that's the challenge I am facing right now. Any ideas on how I can achieve this?
Thanks in advance!

How to export 'raw' data from fabric.io events / answers

I have setup some events like login and some other custom events in fabric.io / answers. Now I see those events appear in the dashboard. But I would like to see corrolation between events. For example, with the login event I also sent the username.
Now I would like to select a username and see how many times he/she logged in and if it failed or not and which login option he/she used.
The graphs in the dashboard are just for one item and not combined items.
So I would like to export the raw data so I can do this myself in excel for example.
Fabric now allows you to export raw event data into Firebase and Big Query, which can then be used to construct your own reports.

How to get list of users in Box using api

is it possible to get the list of users in Box using api calls?
i'm currently using "https://api.box.com/2.0/users" to get all users but what i want to achieve is that i want to get list of users filtered by date created? is there any way how to do that?
here's a sample screenshot for api call using postman
You can get a list of users filtered by date created using the Enterprise Events endpoint.
When you query the Enterprise Events endpoint, you can filter for specific event types using the event_type parameter. The API event name for new user creation is "NEW_USER". The created_after and created_before parameters let you specify a time range for the events needed.

API for "People" contact data

I'm working on a Win8 metro signup flow and would like to be able to seamlessly pull, using the user-provided phone #, a photo and display name from the built-in "People" app. I'm having trouble finding documentation/code outside of ContactPicker (which isn't what I need).
Couple questions:
Is there an API to pull contact data that would be present in the "People" app?
If so, is there a way to configure capabilities to avoid interrupting the user with a modal "Ok for app xyz to access your address book"?
Thanks.
Confirmed that there is no API to pull contacts programmatically.
You can't pull contacts without permission, it's a security feature. You CAN interrogate the contact data users pick via the Contact Picker though.
You therefore have to ask the user to pick contacts relevant to your task, call the single / multiple contact picker then once picked, you can interrogate the contacts as much as you want. They have phone numbers, emails, locations all the data you might want hanging off those.
As far as I can tell, there's no way to maintain a persistent link to them though, so store that data while you can.

Google Analytics & Event Trackers - how to get traffic source by event?

I'm using a google events tracker like this:
_gaq.push(['_setAccount', 'UA-1422398-23']);
_gaq.push(['_trackEvent', 'BookingRequest', 'Parent Name', $('#parent_fname').val()+' '.$('#parent_lname').val()]);
In this case, let's say I can track how many requests were submitted.. is there a way to track these specific users, and see the traffic source, and if it's Google, then what keywords they searched my website by?
Basically I want to see the people booking online, and see how and where they got me... and hoping there's a better and more elegant way than to have a field that asks "What did you type into Google to find us?"
Putting fname and lname into GA is a violation of Google Analytics terms of service. See number 7 PRIVACY.
Custom vars can be used to determine user type and/or login status. See Session-level Custom Variables
For example, if your website offers users the ability to login, you can use a custom variable scoped to the session level for user login status. In that way, you can segment visits by those from logged in members versus anonymous visitors.
But, don't try to put the username in GA either:
While the username or user ID is not directly PII, if it is used to tie to a person from a backend system…that’s a violation of the Terms of Service.
To see the traffic source of the events, go to Content, Events, select the event you want, and add the secondary dimension of Traffic Source (just above event title in report).
Here is a Custom Report for Event Labels that drills down by source then keyword. Just log into GA and go to the URL.