Change/Remove Google Analytics account in web console - android

Looking to setup GA tracking for my app (both, Android & iOS), the documentation led me to:
https://developers.google.com/mobile/add
Now after adding GA account added
I need to change the GA account to another existing one.
I don't see any provision either here, or in the dev console.
Do help point me to the right place where this can be changed.

Work around for now:
Remove yourself, from the GA acccount (Of course make sure someone can add you back)
Reload the page, the account selection dropdown is now available
As an aside, within the Google Dev Console,
GDC > My App > Credentials
an iOS and Android key is auto added, on account selection.

Related

Issue in finding Tracking Id for Google Analytics

I have to integrate Google Analytics in my Android app.
Completed all the code for it But, Having one issue.
The Issue is taking Tracking ID from my google analytics account.
According to the Document :
==> To find the Google Analytics ID (Tracking Id):
Sign in to your Analytics account.
Click Admin.
Select an account from the menu in the ACCOUNT column.
Select a property from the menu in the PROPERTY column.
Under PROPERTY, click Tracking Info > Tracking Code. Your Google Analytics ID is displayed at the top of the page.
But, I can't find Tracking Info Option or any Tracking Code there according to the step number : 5.
From where can I get Tracking Id which look like this one : (UA-41888835-6) ?
NOTE : I can find Property Id there.
While creating property click on advanced option and enable "Create a Universal Analytics property". This will
Then enable "Create a Universal Analytics property"
then lick next and complete the property creation, now you will have two different properties created. Now choose the universal property where you will find the tracking info. GA4 will not have tracking info.
There are 2 ways to get the Tracking ID in Google Analytics:
If you are using web properties, then Tracking ID is in Admin / Property / Tracking Info / Tracking Code, just as you noted in your question.
If you are using App + Web properties, things get a little bit more complicated. For Android and iOS apps Data Streams, there is no tracking ID as to have GA tracking, you need to add Firebase in your app and link your GA account with Firebase.
However if you are using a web Data Stream, you can get the Tracking ID (although it is called Measurement ID) from Admin / Property / Data Stream / Web.
You may read more details on this article https://analyticshelp.io/blog/google-analytics-property-tracking-id/
Click on setting on lower left -> Click on admin -> select "data streams" under property -> Expand the web tab -> scroll down and click on google site tag
This will definitely solve your problem :)
Since creating the video, Google has changed the default version of Google Analytics from Universal analytics to Google Analytics 4. However, you can still create a universal analytics property. To create an Universal analytics property, click on the "Show advanced options" link on the first page of the create property setup wizard, and then select the toggle to "Create a Universal analytics property". This will give you the tracking ID I mention in the video.
Credits goes to Guiding Digital youtube channel https://youtu.be/__PctBcNZ-c
For the Solution,
I have integrated Firebase from my Android Studio and then you can integrate your firebase project in Google Analytics. So the solution is implementing Google Analytics with Firebase.

Always Failed to create Google Map API key for Android

I am new in using google map, I have tried for a day. but when I try to create google map API key for my android project through web site https://cloud.google.com/maps-platform/?apis=maps
then I always failed to create API key like the image below:
am I do something wrong or it is just temporary problem from google ? or is there any alternative to crate API Key for Android Google Map ?
this error only appear on my specific google account, when switch to other gmail, this error never appear
Did you try these steps?
Login to Google with the sys admin email address of the 'G Suite'
account
Go here https://console.cloud.google.com/iam-admin/iam/organization
click on the identity tab on the left menu. (it created an identity)
click on the 'IAM' option on the left menu
Add billing account roles to the sys admin email by clicking on the
pencil icon to the right of that user name. (I assume you could
probably add another user here from the organisation and assign the
billing roles to them instead)
Go to the Gsuite admin: https://admin.google.com/ and click on 'Apps'
Then click on 'Additional Google services' and enable 'Google
developers console'
Then go to https://console.cloud.google.com/billing select your
organization from the 'Select an organization:' dropdown box
click on the 'add billing account' button in the middle of the screen
from
Enable Google Maps Platform error
This issue has been recognized in Google Maps Issue tracker and has been addressed. If you are still having issues with this concern, kindly star the issue and add a comment of the issue that you are experiencing with replication step as well.
It could have been something temporary. Do you get the same error now, when trying to follow the Get Started URL? https://cloud.google.com/maps-platform/?apis=maps
If so, a couple things to check:
Are you really logged in with a valid Google account when accessing this page? (since you mention a "specific google account", I assume this is not your issue here)
Are you maybe using a G Suite domain account, on which Google Developers Console access has been disabled?
1) If you are not logged in with a valid Google account, you will get this error. You can create a new non-gmail.com Google account on the following page:
https://accounts.google.com/signup/v2/webcreateaccount?hl=en-GB&flowName=GlifWebSignIn&flowEntry=SignUp&nogm=true
2) If you are logged in with a valid Google account, is that a G Suite account? If so, maybe the error happens because your domain admin disabled Google Developers Console access on your account. If so, here is how an admin can re-enable this service: https://stackoverflow.com/a/45621397/11316072.
Note: when the Get Started button doesn't work, you can go to the Google Developers Console directly to create a new project (https://console.cloud.google.com/project), create an API key ((https://console.cloud.google.com/apis/credentials?project=), enable the APIs you need (https://console.cloud.google.com/apis/library?project=), and enable billing on your project (https://console.cloud.google.com/billing/linkedaccount?project=).

Service account doesn't show up in Google Play Console after creation

From my Google Play console I linked a project. Then I created a service account. Still, when refreshing the console, it still says "There are no service accounts associated with your project."
Waited over 24 hours already. The purpose of all that is receipts validation.
Picture 1: a linked project:
Picture 2: service-account created:
I had the same problem, I fixed it this way:
When you create a service account in step 2, you need to select a role to grant this service account some permissions, although it shows the step is optional, but for some cases, it's not. If you skip this step, the newly created service account will not show up at the Google Play Console API access page, and you will get this error message, The current user has insufficient permissions to perform the requested operation when you run your code.
You much enable "Google Play Android Developer API" (one of Google Api & services) for your application via a credential!
Google supplies many API for developers can call them from their app. A credential same as a permit (3 types of credentials : API key (such as youtube), OAuth, Service Account)
If you never enable one API, it never shown on API Access page!
In my case:
Even if you have created a service account,
When you have already deleted the service account with the same name,
It appears to have been deleted from the IAM tab of Google Cloud Platform.
So it is assumed that it is not visible in the play console.
TODO:
Create a service account with a different name (I gave the owner permission in step2 when creating, Like Q Locker's answer.).
After creation, it was immediately exposed in the play console.
I faced the same issue because I selected a wrong project instead of the project for which the service account to be created. Please double check the project name in the drop-down at top of the page (after going to the link of Google Cloud Platform). By default the right project to be selected automatically. But if no project is selected beforehand and you are asked to select a project, then select the right project carefully. Otherwise the service account won't show up after completing the whole process.
Another thing to mention, although the project is supposed to be selected automatically, initially it didn't happen and I was given the available projects to select from. The project may appear in the recent projects, otherwise click the SELECT PROJECT link and find yourself.
Moreover when I additionally logged out and removed all the other Google accounts from the browser except the account which is used in Google Play Console. That time I was redirected to service account creation page with the correct project selected beforehand.
Make sure the project name on screen 1 and screen 2 are the same. In my case project name were different.
Screen 1: Main API Access page on Google Console
Screen 2: Google Cloud Platform page

How to enable google analytics in Firebase project

I need to use Google analytics services in my app (android and ios). I created a project in Google API Console and imported it into Firebase for FCM services. But after that, I cannot link the Google project into Google Analytics and get configuration file. When I try to get configuration file and select app name, it jumps to Firebase console.
If I add Android or iOS in the Firebase project, the configuration file I got doesn't have google analytics info.
Anyone know how to solve this. I need to use Google Analytics in my app but not the Firebase analytics.
I also need to support both standalone Google Analytics SDK and Firebase Analytics, and I was finally able to find a solution in this Google Analytics Support answer (Analytics for mobile apps).
Google Analytics without Firebase:
Go to Google Analytics > Admin > Create new Property
Select Website, using your app name as Website Name, and optionally your company website as Website URL.
Back up to the Admin page.
For the Property you just created, in the right-most column (View), there should be an "All Website Data" view. Create a new View.
Select Mobile App, naming the view something appropriate, like "All Mobile Data".
Note: Property Settings will now contain a valid GA Tracking ID you'll need for client set-up.
Google Analytics with Firebase:
Create a Firebase project for your app.
Go to Google Analytics > Admin > Create new Property
Select Mobile App, then use the "Link to Firebase" dropdown to connect to the Firebase project you created in Step 1.
Keep in mind that while there is still a standalone, non-Firebase Google Analytics API to support legacy applications, Google is definitely pushing all new application-development over to Firebase APIs. My opinion is that this solution is mainly good for libraries that need to support new & legacy apps, or during a transitional period.
Refill and Re-enter your application name in App name field manually, so that you will not have to select the routing to the Firebase option and it will not take you to the firebase console.
It's a silly thing by google
TO go to enable or disable the api like map , drive and other of google apis from Firebase project go to this link and will see all api , hope this help.
1. If you don't have GoogleAnalytcs library in your project, get it.
You can use cocoapods: pod 'Google/Analytics'.
2. Get Tracking ID from https://analytics.google.com. If you have not created an analytics account yet, you can do it there:
3. Add this Tracking ID to GoogleService-info.plistwith key TRACKING_ID:
4. Configure the app:
// Configure tracker from GoogleService-Info.plist.
var configureError:NSError?
GGLContext.sharedInstance().configureWithError(&configureError)
5. Example - sending screenView:
func sendScreenView(name: String) {
let tracker:GAITracker = GAI.sharedInstance().defaultTracker as GAITracker
let build = GAIDictionaryBuilder.createScreenView().set(name, forKey: kGAIScreenName).build() as NSDictionary
tracker.send(build as [NSObject : AnyObject])
}
Note: Above procedure is for iOS, Android configurations should be similar.

Can’t select a different Google Analytics account when generating configuration file for Google Analytics

I have two Google Analytics accounts A and B, each with their own properties which I am attempting to generate configuration files for (more specifically, google-services.json files) in order to use Google Analytics with my Android app. I'm using the Enable Google Services for your app wizard.
When you reach the Choose and configure services step, it should allow you to choose both a Google Analytics account and an Analytics Property from their associated selection boxes every time you run this wizard. The problem is that the selection box for choosing a Google Analytics Account only appears on the first run of this wizard, and afterwards becomes a pre-filled field that cannot be modified.
This means that if I generate a configuration file for a Property using Account A, I cannot generate another configuration file for a Property using Account B since the wizard pre-fills a non-modifiable text box with Account A, and only Account A's Properties appear in the next selection box.
How can I generate a google-services.json configuration file for a Property under a Google Analytics Account I cannot switch to?
I have admin access to both of these accounts, so this is not an issue.
The configuration file is necessary for Google Analytics to work once the app is released to the public (as described here).
Similar unsolved questions have been asked here for Android and here for iOS (both platforms use the same wizard to enable the Google Analytics service).
Managed to figure out a very simple workaround to solve my own question: remove yourself from the account you're stuck on, so the wizard is then forced to let you choose another account.
To achieve this:
Log into Google Analytics and choose the Admin tab.
In the ACCOUNT column, from the drop-down box, choose the account you were bound to (in the Enable Google Services wizard).
In the same column, choose User management.
Click the Remove myself from this account button.
Then go back to the Enable Google Services wizard again and you should now be able to select another account.
I hope this helps others at least until Google fixes the site, as this was a rather annoying problem to solve!
I figure out the solution for this issue is that we can move the account to trash. After we create an config file, restore the account.
Hope this may help
On this page Google staff gave an answer to this bug:
This is currently working as intended even though it may not seem so. There may be an update to fix this but in the meantime you can just copy an existing Configuration file and edit it. The only thing you need to change is the Analytics tracking ID value.
For example, in the configuration JOSN file you'll see an entry like:
"services": {
"analytics_service": {
"status": 2,
"analytics_property": {
"tracking_id": "UA-XXXXX-YY"
}
},
Replace the UA-XXXXX-YY value with the property ID (for the GA
Account) you want to use. You can use the Account Explorer to find the
correct property ID:
https://ga-dev-tools.appspot.com/account-explorer/
Note that Tracking ID and Property ID mean the same thing.

Categories

Resources