Sakai google analytics - real time not working - google-analytics

I've been playing with the new google analytics feature:
https://jira.sakaiproject.org/browse/SAK-25634
...and can happily report it definitely does work, albeit with one caveat, I can't get the real time dashboard to work. I know sometimes with new google analytics accounts it can take time for both the data to filter through and the real time to start to work, however, I have had my account for many weeks now and data is indeed filtering through but the real time dashboard stubbornly refuses to work.
My hunch is it's a timezone problem and the reason why it's not showing is because the timestamps on the analytics data from my sakai instance differs from my timezone set on the dashboard (therefore the data is sent but the real time dashboard does not display the data as it sees it being 6-7 hours in the future/past, for example) but I haven't played with this yet. Does anyone know how to fix this problem?
p.s. +1 for universal analytics! https://jira.sakaiproject.org/browse/SAK-28052
EDIT: I discovered there's a timezone setting in the preferences of the sakai app (accessed using your browser), as well as a "server" time displayed in the footer, both are using the correct time, so perhaps it's not that??

I set this up anayltics to test on https://qa10.longsight.com and with the sample properties on that jira it didn't work. I changed the domain to just the domain and I did get realtime stats.
For example the following did NOT work
portal.google.analytics_domain=https://qa10.longsight.com
But this did
portal.google.analytics_domain=qa10.longsight.com
This is the result from viewing it in two browsers.

Related

Explore Free Form report in Google Analytics

I am trying to generate a report using Google Analytics Explore tab using Free Form technique. Few weeks ago I could use Message name, stream name and time to see all the notification name, platform and total no of click. I exported the same to excel file.
but today when I tried to generate the same I couldn't find "Message Name" dimension. Is this field removed from pre defined/custom dimensions from GA? or am I doing something wrong?
My main purpose is to get all list of notifications sent via Firebase.
Any help will be deeply appreciated.
Given that you excluded the obvious issues like using the too-fresh data, the proper way to debug it is to export the data into a sample BQ table, then conduct exactly the same analysis that you're trying to conduct in GA4's explorer. From there, if your issue is with explorer's filters, you will quickly see it.
If, however, you're able to see your event properties in BQ, but not able to get the explorer to display them... Well, Google likely saved quite a lot of money on GA4. UA was pretty expensive. GA4 now introduces all these amazing features like data retention limits, properties' values cardinality bugs, odd inconsistencies between explore's reports and default reports and so on.
For now, the best way to really access your data minus all the artificial limitations of GA4 is to ETL your data from there either through the reporting API or exporting it to BQ.

Google Tag Manager click event tracking working but not displaying anywhere

I have successfully created a GTM trigger and tag using the click_text parameter. When I preview and when I published the change both were successful in showing up on my Google Analytics 4 debug and real time tabs. I cannot seem to find a recorded total for this new tag trigger in either GTM or GA4 anywhere. Does this exist in either of these, or do I need to create an event in GA4 unrelated to what I set up in GTM. I have read most of Google's provided documentation on this specific step and it stops flat at this step of things.
Thank you in advance.
If you see your event in real time data report in GA, you're good. The data is in that property. It, however, is not yet available for aggregation, so you won't be able to count them or use them in other reports.
You should wait up to two days for the data to be in the non-real time reports. Vast majority of the data will be available for aggregation in one day, however. Some starts showing up in hours. GA 360 (paid version of GA) shortens the two days to four hours until all data is there.
I'd also suggest using Adswerve plugin for GA debugging: it will print all DataLayer changes as well as everything that is being sent to GA in the console. It's much more comfortable than using real time hits report and it will show you all dimensions that are being sent to GA.

Google Analytics - have active user but missing info

Environment: injected Google Analytics tracking in my SharePoint Online site - all good.
Now I have been clicking pages for more than an hour and wanted to check results. I see that tracking is working (see screenshot) - at that moment there was one active user (me) and have >30 page views in a 30min time window.
Problem: reports (user and page view count) seem to be empty, but I assume that there should be at least one user and multiple page view information. Is that correct or I am misusing Google Analytics?
Update:
Pressed "Refresh Report" and Google fetched new data. Unfortunately, nothing changed and data still is empty.
This report was generated on 12/04/2019 at 16:17:25
The time of when the report was generated is not reflective of how "fresh" the data is. For the free version of GA, there is no SLA and it can take upwards of 2 days, but generally under 24 hours. https://support.google.com/analytics/answer/7084038?hl=en
Seeing the user in realtime doesn't mean the data for the reports are updated. You need to be patient and wait.
If you're seeing data in the real time reports then the standard reports should populate. This can take time though in my experience the latency is usually less than 1 hour. Are you looking at the standard reports in an entirely unfiltered view - might be worth checking to see if any filters are impacting your data though they should effect the real time reports as well.

enabling hourly data in google analytics

I have two view/profiles linked to my google analytics account. I want to fetch the hourly data for the current day, ie
start date:today
end date: today
with a few filters and dimensions.
Now I am getting the response for one view that means it is possible in google analytics, however for the other view its showing all the values as 0- this applies both to the gui and the api.
Can anyone suggest me how to enable it for the other view as well?
You cannot. Google Analytics needs some processing time. It might be that some data appears immediately, especially on small accounts, but it's not guaranteed and not a thing you can "enable" or count on.
Updated: Okay, that was a dumb answer. Still, there is a processing latency event in GA Premium. It is possible to get realtime data, but that's a different API with limited data (the core reporting API might return data, but no guarantees for that).
But I admit, since your problem is that you do not get data for the whole day yor have a different problem. But with a premium account you should be able to contact your account manager/technical support.

Why don't I see page view data in Google Analytics?

I took the code from the google-analytics website and put it right before the closing body tag like the instructions say to do and changed the xxxxx-x value from the profile page in the code.
I uploaded the new index file and refreshed the page a few times and have yet to get a single hit on it and I'm kind of curious as to why this might be? Any ideas?
You won't see analytics data in realtime. Google is working towards that, but there is a lag in showing traffic:
See this Google Help page:
http://www.google.com/support/forum/p/Google%20Analytics/thread?tid=450ae99d8e40bfaf&hl=en
"Hi, Google Analytics has a current time lag for standard tracking of about 1-2 hours - so it's almost real-time (do you really want to check your analytics data every 10 minutes?). Switch to the current day in your calender and refer to the hourly reports - for example the Visitors/Visitor Trending/Visits/Graph by Hour report - to verify that."

Resources