I noticed strange behavior of users metric in app insights. On azure portal I see this statistics.
How does it possible to have event without user? I'm using application insights via angular-applicationinsights module.
Also sometimes it loses my custom data fields.
Does anybody have the same issues?
Thanks!
This SDK is not officially supported as it's not from Microsoft organization on GitHub. However if this SDK sends userId field with events - UI should correctly calculate user/session settings.
Can you please validate that this SDK in fact sends userId filed with the events.
Related
There is a single-page application (website) that can perform its functions without updating (including from a local copy). It was connected (via Google Tag Manager) Google Analytics, I get data about the application functions usage (by triggers on buttons clicks). But in GA, "application version" is shown as "(not set)" in all reports.
Is it possible somehow to pass the version of the app from the site, or is this feature only for apps?
UPD:
It's GA4.
Unfortunately I tried do it in GTM via the "fields to set" and get failed. Now I can see appVersion in realtime report as parameter of event "page_view" or my custom events, but in regular reports application version still marked as "(not_set)".
I can't test it now, but I believe this parameter is indeed a standard parameter only expected on mobile applications (Android, iOS).
Therefore, you should not be able to see any values for it in default reports, unless you manage to send it as firebase does it for an app.
From the firebase docs, there is the event app_update (normally collected automatically on apps) that expects a previous_app_version parameter. What you could do is to try to dispatch that event, with the parameter and see if thé version shows up in default reporting, but I would not bet on it.
Hell,
We have a production prperty for google analytics and out IOS and Android Apps are recording the events and data.
I am trying to create a test property in order to use it in the test environment, how ever that does not seem to work. here is what I have done:
1. Created a new prperty under the production account
2. Created Streams for Ios, Android and Web
3. Cannot find the Tracking Id for the new property. Sme places I have read it is in the format
UA-AccountId-PrpertySlnumnber. I have tried that but not result.
4. Some places suggested to use the measurementid (G-xxxxxxxx) available in the web Stream and I used that but still it wont work.
However if I use PROD tracking Id in the code, it perfectly works. Am I missing anything? Any guidance will really help.
(Added as answer because low reputation doesn't allow comment)
Can you clarify if this is what is occurring?
Production property with production tracking ID shows data
Test property with test measurementID does not show data
Test property with test tracking ID (tracking ID not found)
Or did you mean Test property with Production tracking ID shows data?
Based on this, it sounds like your properties are not replicates. Are they both the same type of property? I would suggest going through the instructions on Google with both properties side-by-side.
See further info below:
https://www.blog.google/products/marketingplatform/analytics/new-way-unify-app-and-website-measurement-google-analytics/
https://support.google.com/analytics/answer/7372977
https://support.google.com/analytics/answer/9304153
https://support.google.com/analytics/answer/9303323
A couple things to consider.
Have you setup the firebase console correctly?
Are the data being sent out correctly? You can check this in your network calls.
Is there a lot of data being tracked already in your current environment (Staging or dev)? Google analytics perform sampling on the data when there's too much data coming in. I think it's 1 million data points per day. It does 1% sampling on our production app.
I think my mistake was I was trying to create a new google analytics for firebase property but was not connecting it to the firebase.
The reason behind is I was trying to accomodate it with the older Google Analytics SDK implementation and I was not finding any documentation which said no it is mot possible.
Now, I created properties connected them through google firebase projects and enabled analytics with them. In my xamarin app I used Xamarin.Firebase packaged to get it working.
I have been searching all over for this, and I just haven't been able to find a clear answer to my questions.
I'm developing an app for a client and using Firebase as my backend (it's my first time). I need each user account to have it's own calendar.
I will be using the Firebase O-Auth but I don't want my app to see or edit a users auth account calendar (ie: if a google user logs in I don't want to edit their google calendar). I want our database to store a unique calendar for each unique user.
Will the calendar API allow me to do this? The app could potentially have thousands of calendars. I've seen some docs about limits, but it seems like limits on api calls, which I don't have any estimates for at this time.
Would a service account be appropriate for this application?
I've checked these other posts, but they don't quite answer my questions:
How to create a scalable calendar service backend for an Android app?
Google Calendar API - Designed for?
Any kind of insight would be much appreciated. Thanks!
Generally what we do in this case is create calendars using documents and collections within Firebase. Here is an example of a calendar app that uses Firebase to store its appointments. It is written in Flutter, but the backend design for Firebase should be easy to understand.
https://www.syncfusion.com/kb/12067/how-to-work-with-the-firebase-database-and-the-flutter-calendar-for-appointments
I need to be able to add/update events on my Google Calendar using ASP.NET C#. I've researched plenty, but am going in circles. I need clarification and direction on what type of authentication is needed, etc.
My webforms app will be used by multiple people. Each person has been granted access to the target calendar. I want the app to make a call to add (and update) events from that app.
My understanding is that I don't need the user's permission to add events to my own calendar that I'm sharing with them. Accurate?
Do I need oAuth, API key or other authentication? Where is clear walk-through code in addition to clarification on credentials needed?
It was stated in the Google Calendar API documentation that:
Every request your application sends to the Google Calendar API must
include an authorization token. The token also identifies your
application to Google.
Also using the method Events: insert, requires authorization. Same with the Events: update. Just make sure you need to add the following scope (https://www.googleapis.com/auth/calendar).
Check the example code snippet of insert and update method.
I need to write to a Google Calendar from data in our datastore (App Engine app).
I want to access via OAuth 2.
Reading is no problem - the calendar is public and I just use the simple API access method.
Writing is a "problem" - obviously I need to authenticate. However, the calendar is owned by the app administrators, and we want to write to the calendar as a background task - no user interaction is required.
I have gone through all Google's documentation, but I feel none the wiser - how can I do a one -time setup for permanent write access to a Google Calendar, via the V3 API?
To make calls on behalf of your App Engine app without user interaction you should make use of the App Identity module:
https://developers.google.com/appengine/docs/python/appidentity/
If you are using the Google API Client Libraries, using the AppAssertionCredentials object will do this automatically for you:
https://developers.google.com/api-client-library/python/guide/google_app_engine#ServiceAccounts
Note the following:
You will probably still need to supply the simple key in order to attribute quota usage to the right project.
The App Identity module won't work during local App Engine development - you will need to deploy into production in order to obtain valid credentials.
You will need to share the calendar you are writing to with the email address associated with the service account for the App Engine app. To find this email address go to the App Engine Administration Console -> "Application settings" and look for the service account email.
Finally, I'm not 100% sure that the Calendar API allows service accounts direct access, but you should give this a try. If that doesn't work for you an alternative may be to generate a refresh token for a real user that has access to the calendar, and look at embedding that into your application - the service account method is preferable, so I would try that first.