Google Analytics API and UI Report Users data not matching - google-analytics

I've extensively searched in forum and after that putting this question so that someone might be able to help me.
Scenario:
In Google analytics dashboard, we have created logical categories based on keywords within PagePath. For instance, if my PagePath contains keyword \sports\ we call it Sports Section category.
We capture the User count weekly from UI as shown below :
I am now trying to move this data in MySQL db using Talend Open Studio Data Integration.
I am using a componenttgoogleanalyticsinput where I can feed Dimensions and Metrics.
Problem:
I analyzed 2 days of data and found the following observation:
Date All User Sports Auto
01-Jun 2220088 325174 51825 (visible in image chart)
02-Jun 2950015 256390 80472 (not visible in above chart)
Total 5170103 581564 132297 (sum of above)
API : 5170103 581564 132297 (received from API)
UI : 4910532 553400 129652 (shown in UI)
So, the data on chart matches with what I'm getting from API BUT they both do not match with what is shown in UI number.
I visited this link to understand what those numbers mean on Google UI.
Problem is, what dimension and metrics should I take so that my API values matches with UI number?
I tried to take ga:PagePath, ga:Date as dimension and ga:Users, ga:pageViews as metrics but they're not working for me.

Related

Google Analytics Custom Data Studio Field: Unknown dimension or metric ID: _ga____campaign_

There is a slight difference in the account names in Google Ad Words and Google Analytics: AdWords will have a campaign called "*Brand_Campaign [Ex]" while the name in Google Analytics is "Brand_Campaign_Ex"
If I want to stitch these together, I need to replace all the symbols and convert the entire campaign name to lower case. I'm trying to create a new field in the Google Analytics data using this formula:
REGEXP_REPLACE(Campaign,'_','')
But Google Data Studio returns an error message saying
Unknown dimension or metric ID: _ga____campaign_.
The campaign dimension is definitely in the table. The same formula works to create a new dimension, but I cannot join on dimensions created on the fly. I have been able to do this exact thing for the Google AdWords table, but the Analytics table is returning this strange error. Please help!
Not 100% sure if this applies here but I had a similar problem. My problem was that the columns in my postgresSQL database contained special characters like - or /. I know that one should never use such characters but anyways - changed that and reconnected the database and everything worked fine!
Hope this helps!

How can i display custom events into a chart?

I'm trying to use custom log event to have some statistics of the use of my app.
Events are properly configured and can be seen in the "Stream view" of firebase analytics.
my problem is that i want to display statistics no for only the last 30min.
for exemple if i log an event "car" which contain the property model, which can have the value 'tesla', 'ford' etc... as this :
this.defaultAnalytics.logEvent("car", {model: "tesla"});
I'm able to see in the last 30min like 75% of car.model are tesla in the stream view, but i'm not able to see this for the last week for exemple.
I can only see that the event 'car' has been emit 100 times in the last week but i can't see anything about the value of the property.
I'm i obliged to use a tool as bigquery ?
It depends which charts you want to get, but in general - you don't have to use BigQuery. You can see all your custom event parameters in Firebase console, but you have to register them first:
You can also identify up to 100 custom event parameters per project (50 numeric and 50 text) to include in reporting by registering those parameters with their corresponding events. Once you register your custom parameters, Google Analytics for Firebase displays a corresponding data card in each related event-detail report.

Google Analytics - Show Users With 'X' Event But Without 'Y' Event

I've just started using google analytics, and except of a quick beginners tutorial I don't know very much :-).
I have a website with few steps in the sign-up page. In the first step the user verifies his phone number. I want to have a list of all the users phones that completed the verification step but didn't finish the registration. In order to do this I send the following events in each step:
{eventAction: 'registration phase1', 'eventLabel': userPhoneNumber}.
{eventAction: 'registration phase2', 'eventLabel': userPhoneNumber}.
{eventAction: 'registration phase3', 'eventLabel': userPhoneNumber}.
I want to create a report that shows me all the phone numbers of the users who fired the first event but didn't fire the third event. I tried to achieve this by using event advanced filters with include and exclude condition but it seems that data being shown is not correct. I also tried to do this using the Query Explorer but I couldn't find out how to do this.
You can do this by first using the Google Analytics web UI to create a segment. You can learn more about segments here.
You'd want to use "include" and "exclude" sessions or users depending on your need. The setup will look something like this, adjust the events action/category/label as you wish to match the events you want.
Save your segment and head over to the Query Explorer.
Select the appropriate property and view which you created the segment. Under the "segment" field type in the name of the segment you just created like so:
Fill in the rest of the form with the dates, dimensions/metrics that you want and you should get results according to that segment. No additional filtering needed.

Difference between Google Analytics API v4 (no result) and dashboard

I'm trying to retrieve separately ga:userAgeBracket and ga:userGender using Google Analytics Report API v4 using a filter on eventCategory and eventAction.
From GA Dashboard, i'm able to retrieve the data even if there is only ~ 2.4k users and ~5.6k sessions. The repartition is 178 Males and 142 Females.
I'm trying to get the same result with the API but it's return nothing. I'm testing with https://ga-dev-tools.appspot.com/query-explorer with the same filters ect.
Is there any limit on the API ONLY when there is a small amount of data ? or another reason ?
EDIT: With another account with more data, and i still have the issue. Here are some screenshots
You created a segment in GA webUI and is comparing the results to "filters" in the explorer. You should be applying the same segment instead for consistency. Once you save the segment in webUI, it should be available in the "segment" field as a selection.
Your filtering also uses the "=~" regex match operator instead of the "=#" contains operator. Try this and you should have results.

SSRS 22017 passing a parameter value to a url

Hi I have been trying to pass a value in to another report via a URL link, but cannot get the syntax correct, I have trawled the net and the 8 questions already in Stack and tweaked my code for each answer but cannot get it right.
I have a fully developed report that used a parameter "SALES_ORDER" you manually enter the SALES order and the report runs ok.
I have another report that is a graph of the above data with the sales order as the key to both.The graph is showing the last 10 sales orders by sales order number , when I click on the sales order number I want to be taken to the URL of the original developed report taking the sales order I clicked in in the graph so the original report uses this as the parameter.
The code for the jump to in the action box of the graph is :
="http://SERVER_NAME/Reports/report/GEMINI%20REPORTING/BY%20DEPARTMENT/PP/Manual%20Production_order_tracker_V31&rs:Command=render&SALES_ORDER="+Fields!SOPT_SALES_ORD.Value
SSRS likes the code as the graph report runs ok, I can click on the required bar for the specific sales order It then opens the correct URL page but I get the error below:
"The path of the item '/GEMINI REPORTING/BY DEPARTMENT/PP/Manual
Production_order_tracker_V31&rs:Command=render&SALES_ORDER=2900252422'
is not valid. The full path must be less than 260 characters long;
other restrictions apply. If the report server is in native mode, the
path must start with slash. (rsInvalidItemPath) Get Online Help "
The parameter in the developed report is "SALES_ORDER".
I know I could duplicate the developed report and include it in the "new project" I am working within but that then means for any change to the developed report I have to make the same changes to the one in the new project, hence wanting to hyperlink to it.
any help would be appreciated.
Thank you.
Tony King
You can use Action as Go to Report and give your Report name and Then therein you can give Parameter name and it's Value?
Screenshot for Reference

Resources