Incorrect Client ID - google-analytics

I have trouble. After adding a clientID custom dimension in my report started tracking such strange data https://prnt.sc/rtdlk7 . There are just a few users with such clientID but I couldn't understand why it happening.

The problem certainly depends on how you send that value to Analytics, I would look for the problem on the content of the value that returns your function, it is definitely not a Google Analytics problem.

Related

The Dimensions on comparison of Google Analytics APP+WEB property is disabled

Last Thursday, most dimensions on comparison function of Google Analytics APP+WEB property is disabled. So we can't use comparison function.
I think it's some kind of api bug, if someone knows about this please let me know when it will be able.
error message shows 'No data currently available for this dimenstion'
Check if the Google Analytics data source contains data for the specific combination of dimensions and measures.
I think Google has done hotfix yesterday. So Today We can use whole dimension in comparison.

Session numbers pulled from API dont match the numbers displayed in the Google Analytics Report

For my recent project, i m trying to develop a brand new report for google analytics using the Sessions data over a period of time.
When I compare the numbers that I get from https://ga-dev-tools.appspot.com/query-explorer/ and check the report that we have created in analytics.google.com the numbers for sessions are off. They dont match exactly. They are off by like 1%. What might be the reason for this.
Can someone please help me here?
I can give more details if needed.
Thanks
Adding to the above , one more thing I noticed
This happens only When I add Segment filter to be specific. Without the segments the numbers for all users look good.
Had a call with Google Analytics support. They say that there isnt actual support for the Rest Api code and the Front End report from Google Analytics has built in Logic to filter out certain personal information like age related, sex, etc. which is not there in the Rest Api when it pulls in data.
So this is the reason why the numbers are off by 1% all the time.
Hope this helps
Thanks

Do I have to use queryProfiles every time to get the profile id?

I am playing with Google Analytics API and found that when I get the web property list, I have a defaultProfileId very useful. It can just help me pass the queryProfiles call, to save one request and make the whole app works faster.
But I noticed that some web properties just don't have the defaultProfileId thing.
Just for the information, most of the situations happens to a tracking ID like UA-XXXX-1.
Any tips?
Thanks!
You are correct webProperty does not always return a defaultProfileId. I was also unable to find any information on the Web Properties page as to how the API decides what a Default Profile Id is. I submitted a bug report for it, with the Analytics dev team you can find it at: defaultProfileId - not always sent with a WebProperty. Lets hope they come with a response you are correct this is a very useful feature.
Yes you are probably going to have to query the profiles every time to get the correct profile you are after.
I just found this:
https://www.googleapis.com/analytics/v3/management/accounts/~all/webproperties/~all/profiles?oauth_token={Token}
There should be away of working that to make one request for accounts, one to get all the Web Properties , then one to get all the Profiles.

How to Unlock the Not Set Keywords in Google Analytics?

I am getting “not set” in keyword report section of Google analytics data. May I know any method to retrieve the search terms/ keywords from the not set data?
May I know what are the factors that can result in showing the “not set” result in Google analytics?
any help
You can't Unlock it:
(not set) is a placeholder name that Analytics uses when it hasn't received any information for the dimension you have selected. Occasionally, information related to a click can be lost even if auto-tagging is enabled. As a result, you may see some (not set) entries instead of keyword, ad-content, or campaign information that could not be collected.
https://support.google.com/analytics/answer/2820717?hl=en
Which report exactly are you having a problem with?
If you mean that you want to see what users are Searching the Google website on to come to your website. You are going to have a problem Google has stopped sending this information, they want to make things more secure for users. http://googleblog.blogspot.dk/2011/10/making-search-more-secure.html

Google Conversions - Tracking conversion sales with cookies

We are currently using Google Conversion tracking as well as Google Analytics, but would like to implement a way to track actual sales from known conversions.
My original idea was to check for a specific cookie when the user finalizes their payment, and if it's found, save the OrderID and ConversionCode to a database. This idea went up in flames, of course, when I found out that the web server cannot actually access the cookies for conversions.
My next idea is to save my own cookie whenever the google conversion cookie is written. The cookie would contain a unique ID, which would make my first idea usable again.
Does anyone see any significant issues with this idea? Is there a more effective way of doing this that I don't know about? I'm still very new to Google tools (and cookies in general), so I could be missing something.
You can set the order value via the google_conversion_value var in the tracking code. This obviously doesn't help with OrderID tracking, but should help you with your attribution model.
Further details here: http://adwords.google.com/support/aw/bin/answer.py?hl=en&answer=86277

Resources