Transferring property from other user account to my account - google-analytics

Just to start, I am aware of the following answers but neither solves the issues I'm facing:
Switch Property in Google Analytics to another Account, possible?
Is there a way to move Google Analytics Property to a new account?
So I current have full access to my own GA account, let's call "Account 1" and Account 1 has "Property 1". I also have full access to my colleagues GA account called "Account 2" and has a property called "Property 2". It's setup like below:
What I'm looking for is to transfer Property 2 into Account 1. So the setup would look like this:
Now, when I try the Transfer Property button in GA, I keep getting Internal Error response from GA. Is it even possible to transfer a property that I have full access to but did not create, into an account I created?

After seeing your question I tried moving property and this is how I solved the issue.
The error keeps appearing because the property has been moved but you are still checking account 2 which has no properties. Go to admin and select account 1. if you don't need account 2 just delete it.
hope this helps

Related

Google Analytics (GA4) not reading userId from Google tag manager datalayer variable

I am developing a website using nextJs. While implementing GTM and Google analytics, I ran into a problem where GA4 is not reading user_id property from Google tags manager..
My code is pushing the event and firing the tag:
The Tag is reading correct value.
and here are the following datalayer variables.
When I check the GA4 debug view, I cannot see the user_id being set. The User Properties tab stays empty and nothing is coming in that fills it up..
I have tried using first party cookies to set user_id which actually worked, but the issue I faced then is when logging the user out and clearing said cookies, GA4 still managed to keep the user_id saved and not clear it from future events.
Can someone point me in the right direction please?
I'm facing the same problem, and researched about it. I'm suspicious now that "GA4 Configuration" tag will be work only once and setting user_id field too no matter how many I trigger it.
I think the only way is reloading the page to refresh GTM tag, but I'm not satisfied with this conclusion, so I'll be back when I find a better way.

Google Calendar API: Display Name doesn't work

I am faced with a strange problem: displayName property is not applied/saved on event level. Here is a link to the API documentation: https://developers.google.com/calendar/v3/reference/events
I fill in the displayName for the organizer and attendee in the event and then save this event. But in emails displayName is nowhere showing. I expect to see it ideally in the email as <{DisplayName}>#organizer email. That's an issue I am trying to solve but I see it nowhere at all. I read this event from google calendar using event id. And there's no property displayName in organizer and attendees fields.
I double checked and I use v3 of the Calendar API, so I believe I am checking documentation for the same API version I use in the code.
I understand that you create a Events resource and want to get the values for organizer.displayName and attendees[].displayName. In that case, then everything is working as described. In the Events resource it is stated that those properties are subject to disponibility. Also, in the case of attendees[].displayName, it is optional too. Both properties are writable, so ideally you could include them in your requests. Please, ask me any additional doubts.
the answer lies in the Google+ replacement, "Currents". If you have Google Apps for Business, make sure Currents is available for your users, and then from within Currents, make sure the users you want to have the 'displayName' appear for have an "active profile". As an admin for the organization, you can make profiles active on users' behalf. Once they have an active profile under Currents, the "displayName" will use the name associated with the account.

How to maintain session in different tabs of same browser?

My website is used to administer customer accounts. If I access CustomerA's account through the website then open a new tab and access CustomerB's account the session holding the customer ID updates to think I'm now working on CustomerB. Then if I click back to CustomerA's tab and start editing that page I am in fact editing the database record for CustomerB. This has happened and caused all sorts of problems so I need to find a fool proof way of stopping it. I don't want to put the customer ID in the URL as this will make it open to abuse.
Session is not a place to hold information like this exactly because of problems you're describing. You need to pass customer ID along with the page itself (either in hidden field or in url), so when you post back the form, it exactly knows what are you trying to do. Session won't protect you nor add any extra security. You need to determine if the user has correct permissions either way, so you should focus on this aspect.

Is there a way to move Google Analytics Property to a new account?

When I originally created my Google analytics account I added all my websites (properties) to the one account. Now I would like to move them to their own individual accounts but I cant seem to find anywhere where this option is available.
I can easily make a new account but that seems to entail creating a new property and view. If possible I would like to keep the historical data that GA has already gathered for this website.
Note: I am using the terms as per the 3 columns in the GA Admin page: Account, Property and View
Update: September 10, 2016 - Now there is a way to move GA properties between accounts:
There is no feature (at the moment) to move properties within accounts.
Update: January 2016 - still no feature to move properties.
You'll need Admin Access to two Google Analytics ACCOUNTS - one destination account and the account where the Property currently is.
Once you have access to both with the same Google account, head in to the Property Settings and click "Move Property".
This post has detailed instructions and a video example.

No data showing on Google Analytics due to Profile/Filter Configuration

I'm using the Google Analytics Flex API to record data from a Flex application.
As I understand it, Google Analytics has a 3-tier hierarchy: An Account can contain one or more Properties, each of which can contain one or more Profiles. A UA code is associated with a Property, and Filters can be used to record specific traffic to a specific Profile.
The application lives on 5 different server environments (development, staging, live, etc) and we need to separate the data from the different environments.
Note that the server environments do not live within the same domain name. For example, staging is at staging.x.com, but the live version is at www.y.com. But I want them all to share the same UA code, so we are tracking them as 5 different Profiles.
So I have one Property with multiple Profiles. I set up a Filter for each Profile saying "Include only traffic form the domains that are equal to" and the particular hostname for that server environment.
The "Default URL" for the Property is set to the hostname of the default Profile, which is the live environment.
We set up that configuration yesterday, and today there is no data in any of our Profiles. We had data the day before (before doing the reconfiguration). I am confident that the tracking code in the client app is sending the hits to GA, since I can see them in Chrome debug mode, and the client app wasn't changed between the day before yesterday and yesterday. The only thing that changed was the configuration of the Property and the Profiles.
So obviously I'm missing something about Property and Profile configuration. Some specific questions:
Am I understanding Filters correctly? Is it somehow applying the Filter to the entire Property? It seemed like the Filters were at the Profile level.
Does the "Default URL" for the Property have an effect on which hits are recorded? What exactly is it used for?
Is there some restriction on how the Profiles within a Property can be affiliated? For example, do they have to belong to the same domain name? I thought not, but maybe I'm wrong?
Any other suggestions?
Obviously, I can experiment with the configuration and see what happens. But I have to wait until the next day to see the effects of each change. Thanks for helping.
Am I understanding Filters correctly? Is it somehow applying the
Filter to the entire Property? It seemed like the Filters were at the
Profile level.
Yes Filters are always applied at the profile level.
Does the "Default URL" for the Property have an effect on which hits
are recorded? What exactly is it used for?
The "Default URL" has no effect on data collection or filtering at all. It's only used to create links from the page reports back to your site. So when you see the top page being /index.html and you click the little link beside it it will take you to "Default URL"/index.html . So you might break that specific feature if the url doesn't exist on you domain. But for the sake of reporting it's completely fine to use a different url.
Is there some restriction on how the Profiles within a Property can be
affiliated? For example, do they have to belong to the same domain
name? I thought not, but maybe I'm wrong?
No, the Profiles inside a Web Property don't need to share the same domain name. It's perfectly fine to have multiple profiles filtered by hostname and it's completely fine and normal to have a global profile with data from multiple hostnames. In that last case the data may be a little off unless you implement Cross Domain Tracking.
Any other suggestions?
It seems that you have a very good understanding of how things work in GA. One thing that you might have missed and #jk commented about is that you should always have an unfiltered profile on you Web Property to avoid losing data due to bad filters.
Another thing to notice is that in the past I had problems with the predefined domain filters. It seems they were being aplied to the wrong field inside Google Analytics. I think they were being applied to the "Visitor ISP Organization". For that reason I never use predefined filters. So if you are using predefined filters you might consider changing them to Custom Include fields, select the "Hostname" metric and enter the domain you want to filter as a RegExp. I believe this bug should be fixed by now, but you never know, I just lost confidence in the predefined filters on that day.
If you acidentaly used 2 include filters in a profile that filter on the hostname but with different values chances are they are canceling each other. So you might want to go into each profile and check if they only contain one include filter each.
eg:
Include only trafic from x.com
Include only trafic from y.com
This will result in a profile with no data.
Another thing to notice is that filters don't apply to retroactive data. So if you apply a filter today to a profile it will only filter data from now on. Data that has already been processed will be elft untouched. There's no way to change data that has been added to a profile, nor to add retroactive data to a new profile.
Other than that you are probably good.

Resources