Google analytics does not show any data in any dashboard - google-analytics

I'm very new to google analytics. I'm using it to know the performance metrics of a website, this website is not mine. I'm assigned to analyze the performance metrics of that website. The step i do is i sign in, put the url to the website and then i'm directed to the home but somehow in every dashboard i check, there's no data at all. The website is https://www.latihid.com/.
I'm very confused right now because I thought simple sign in and putting link url is enough for the google analytics to show me the dashboards of the data and i have seen in every tutorial I found that when they open the google analytics it will show them the dashboard with data (not blank dashboards).
Please help me, what's wrong and how to fix it

steps to begin using Google analytics.
Create account on google analytics
Add Tracking script to your website JavaScript snippet
Account creation latency (1)
When you create a new google analytics account on the google analytics website it can take between 48 -72 hours for this account to start recording data. This has nothing to do with the age of your website it has to do with the time it takes to prevision your account.
Data processing latency (2)
Once your account is ready to start displaying data and you have added the JavaScript snippet to your website and have begun sending hits to Google
analytics. If you check the real time reports on the Google analytics website you will begin seeing it recording data.
It takes 24 -48 hours for data sent to google analytics to complete processing and be shown in the standard reports. Again this has nothing to do with your website it has to do with the data processing latency on Google analytics.

Related

How do I know that Google Analytics 4 installed with Google Tag Manager is working?

I believe I have followed the instructions for adding Google Tag Manager to the letter -- including adding the scripts to all pages of my website. I then added the tag for Google Analytics 4. I have tested this tag many times via the Preview and Debug mode in Google Analytics. In debug mode, I could see when pages were loading, in terms of the basic functions. I have also gone live and have supposedly had this functioning for a few weeks now. If I monitor the Real-Time Report in Google Analytics , then call up my website, I can see my activities showing up including additional tags for monitoring YouTube videos and their progress. When monitoring the Network activity in the browser debug tools, I see data is being sent and replies (presumably from Google) acknowledging them with a 204 thumbs up.If I go to another computer under another name, I can also get those visits to show in the Real-Time data. However, there has been no data accumulating for website visitors. My website is new and does not get a lot of hits, but it gets many more than GA is reporting. I see something like 23 for the last three weeks. Cloudflare Analytics shows over 1,100 unique visitors in the last month with between 30 and 97 new visitors per day. There must be something simple I have missed but I cannot seem to find the answer anywhere through searches or YouTube video aids. How can I install GA4 and know for sure that the data is being accumulated by Analytics at Google? I really want this to work.
Google Analytics Report -- One Month
Cloudflare One Month Requests
Cloudflare One Month Unique Visitors

How can I fetch the number of pageviews per page on my site in the last 30 minutes with google analytics?

I would like to add a "what other people are doing" section to my react website, which shows the currently most interesting sections of my website using google analytics. This means I would need fetch the most popular pages every 30 minutes from google analytics from within my pages backend, presumably using the realtime api, because I know that the reporting of the reporting API can be up to 24 hours out of date.
But unfortunately, the realtime API seams to only be able to track users that are using the page currently, and there doesn't seam to be a way to distinguish which actual page there on.
Basically what I need is a way to figure out how many individual people (not just people refreshing over and over again) have visited a certain section of my page in the last 30 minutes. Google analytics seams to be the way to go but I'm open to any other solution, as long as it can be used from within the aws cloud.
What you need to remember is that the Google Analytics website also uses the Google Analytics API. If something you want to see can be done on the website for the most part you can also do it with the api, with the exception of a few of the calculated metrics which can be a bit tricky to duplicate with the API.
The reporting of the Google analytics Reporting API takes between 24 - 48 hours to process your data until that time your data will not be completed processing so the numbers will not be correct.
The google analytics real-time api would be an option but the data is limited into how long it stays around as well is what dimensions and metrics you can actually view as they are only giving you access to what they are sure has completed processing.
An issue with both of these solutions would be the quota, every view on google analytics is only allowed to make 10k requests per day. You will need to ensure that you stay within this so if you are only requesting data every thirty minutes around the clock you should be able to keep this to around 48 calls but its wroth noteing.
IMO Google analytics is not suited for this task you should keep a running count on your own website store it in the database and use that.

Google Analytics realtime is showing inaccurate source after 7 minutes

We are using Google Ads and facebook Ads to promote our website and using Google analytics (GA) to track.
We created a test FB ad like link to our website, i.e., having FB like UTM params in the link.
( ?utm_source=Facebook&utm_medium=Paid&utm_campaign=Test )
When we did a test with 10 users all coming by clicking that link, GA is showing 10 users in realtime reports. We further checked the source of those users, it properly showed as "Facebook / Paid".
However, after 7 mins realtime shows the same user's source as "direct" instead of "Facebook / Paid".
Can someone help me understand why GA is treating those users in realtime as "Direct" after sometime.
Note: I haven't changed any code related to session timeouts.
Real time report does not give accurate information, especially for the source and medium. It is a known fact so there is no solution. You have to wait for the data to appear in the actual report.
From documentation
[...] As a result, you'll see traffic and conversions incorrectly attributed to a Source of (direct). You'll only see this in Real-Time reports; in standard reports, traffic and conversions will be attributed correctly
https://support.google.com/analytics/answer/1638635?hl=en&ref_topic=1638563

How to let know to Google Analytics that my user is still online?

We have a dashboard application that shows some realtime data. Usually use case is that user open some dashboard and let it opened several hours and looks at it during the time. Data on the dashboard are updated on the background. Google Analytics doesn't know that the dashboard page is still opened and results about realtime online users in GA are bad.
How to let know to Google Analytics that the user is still online?
I think about using GA events, but I do not know if it is the best way.
You can know it with a margin of 5 minutes:
Active users are those who have sent a hit to Analytics within the last five minutes.
Active users per page is the number of users who have sent their most recent hit from that page.
https://support.google.com/analytics/answer/1638637?hl=en

How does Google Analytics filters duplicate site entrances

We are implementing a native analytics system and want to apply the same tracking principles Google Analytics uses. We've figured everything out but one thing:
Every time I refresh a page with an url that has utm-parameters attached to it, Google Analytics somehow figures out that it's not actually a visit but the same page that gets refreshed and shows only one visit in its dashboard from that particular source.
Is anybody aware how GA specifically does that so I can replicate it in our system?
I know that I can use
performance.navigation.type
in my JS script, but it doesn't give me desired results.
Any help would be much appreciated.
Attribution in GA happens on the Google servers, so JavaScript will be of limited use. Basically since a reload means that the user has the same client id and no change in the channel (source, medium and campaign are the same as in the previous visit) the existing session will be continued (a change of campaign/source information would trigger a new Google Analytics session).
Google has a very nice chart that explains how campaign information and traffic source information is processed.

Resources