Is there any change in reporting implementation of google api client library now that universal analytics is getting deprecated? - google-analytics

I am using google-api-php-client (version v2.2.2) in my project for google analytics.
According to this article the existing implementation of google analytics is going to get deprecated.
I just want to make sure my existing implementation of google-api-php-client won't be affected by this.
Appreciate your suggestions.

Related

Google Analytics UA and GA4 together with firebase Existing Project

I am new for firebase please pardon if I don't understand something.
I have two apps running for Android and IOS and both are configured with Google Analytics UA as well as Tag manager and now I have created a new property for Analytic 4 and tag manager is there.
My firebase is linked with Universal analytics already but need to connect GA4 as well for both apps so i don't lose connecting with my universal property as well as the GA4 should also work.
Anyone here with good understanding of firebase and Analytics can help me.
Looking forward to hearing from you.
Many Thanks
You can find documentation to connect GA4 to Firebase here:
[GA4] Firebase integration. Link Google Analytics 4 properties to Firebase.
https://support.google.com/analytics/answer/9289234?hl=en
Anyway, you don't want to worry too much about not losing the link. I have personally noticed that the old Analytics Properties for mobile always exist however Google has announced their deletion (except for 360):
As of February 4th 2020, Google Analytics properties that fit the
criteria below will have been permanently deleted. We recommend
transitioning to measuring your apps with the Firebase SDKs.
https://support.google.com/firebase/answer/9167112?hl=en

Is it possible to integrate Google Analytics in my JS library

I have a JS library which is used by some users. I am going to track some behaviours from user using the library. I tried to configure a property on Google Analytics, however, it seems I should configure a URL for a website, an ID for an ios or an Android application.
How can I use Google Analytics in my library? Or can GA be used for this purpose?
Thanks
Google Analytics is a web analytics tool. So you won't be able to track your JS library with GA.
If you Google “Google Analytics,” the description provided is as following:
Google Analytics lets you measure your advertising ROI and track your Flash, video, and social networking sites and applications.
JS libraries are not part of the use cases.
Also, Google “Track JS Library Google Analytics.” As you can see, you’ll only get references to libraries such as gtag.js or analytics.js, which will not serve your purpose of tracking your library.
And ask yourself, will people use your JS library when they know you are tracking them? I don't think so. Instead, create a repo on GitHub with documentation and allow users to report issues.
Also, create a mailing list with users and execute small surveys to understand better how people are using your JS library.

Firebase+GTM SDK - tracking exceptions and crashes in Google Analytics

Google Analytics allows collection of a basic contextual information and crash and exception in app. This has been done using GA library. I am currently upgrading the implementation to use Google Tag Manager by utilising latest version Firebase+Tag Manager SDK.
I wonder how can I make sure crashes from my app are registered within GA? Firebase crashlitycs is a different tool. I really need those crashes and exceptions in Google Analytics as exceptions/crashes rather than just events.
Please advice. Thank you
You can create a tag in GTM (exception type) and use the event 'app_exception' (in firebase) as a trigger, sending that information to GA.

How to show compass on google map api v3?

How to work with UiSettings in Google Map API v3? I try to show compass in map (not street view). I'm new in there if anyone know how to show it will be helpful. Thanks.
This feature is available in Google Maps Android API. Unfortunately, Google Maps Api v3 does not have this yet. I suggest that you file a feature request in Google Issue Tracker. If you are not familiar with issue tracker:
Issue Tracker is a tool used internally at Google to track bugs and feature requests during product development. It is available outside of Google for use by external public and partner users who need to collaborate with Google teams on specific projects.
Issue Tracker is not a general purpose issue-tracking tool and is not offered as a consumer product for external teams who want to use it for their own issue tracking. You cannot use this tool as a general place to submit feedback on Google products. Please refer to the documentation for individual products for instructions on providing feedback.
You may visit the issue tracker here.

Universal Analytics Not Giving Me Updated Code

My job is to upgrade the current analytics to universal analytics. Hunting around, I could not find that annoying universal analytics upgrade notification in the property settings. Checking the documentation, I can confirm that this platform was already on UA!
I head over to "Tracking Info" (not "Tracking Code" as the old one used to be), and it says UA-123456-1 with the classic tracking code.
Problems: The tracking code is classic and not universal. I have no idea to confirm that its universal or classic.
Completely confused on what's going on inside of it.
Ben, not sure if all of the accounts were offered the upgrade -- maybe you are still on the waiting list:
The option to upgrade Universal Analytics will roll out to standard
accounts. Once this option is available in your account, it will
appear in the Admin section.
Also, keep in mind that if you are using Retargeting (dc.js) -- it is not supported by Universal Analytics as of yet and those account should not upgrade:
Universal Analytics does not currently support the the dc.js
JavaScript and related features (Remarketing, Google Display Network
Impression Reporting, DoubleClick Campaign Manager Integration, and
the Google Analytics Demographics and Interests Reports). If you use
any of these features, upgrade to Universal Analytics after dc.js is
supported.
All needed information should be available in the Analytics Upgrade Center, check it out...
Hope this helps.

Resources