Google Analytics api add-on times out - google-analytics

When I run the Google Sheets (Google Analytics Add-on) the reports run fine, however, when the automated hourly runs are done I get an hourly email that the reports "timed out" as seen below.
Error message
Service timed out: Spreadsheets

Spreadsheet service seems down, I have same issue on some apps that use Spreadsheet service. Still see nothing on https://docs.google.com/macros/dashboard
I don't understand the comment I see ('And your programming question is?'). I understood this place is to help..

Related

Tracking the usage of a Google Data Studio report

I'm trying to track the usage of a Google Data Studio Report with Google Analytics. I tried to create a stream more than 24 hours ago but it still says No Data received. The stream "source" is a Google Data Studio report so I followed the advise of a blogger that seemed to help many other people but it doesn't work for me. I copied the Analytics tracking ID into the Google Data Studio report and I used https://datastudio.google.com as the stream URL in Google Analytics. Is this the right way of setting up the stream?
Also, do I need to wait for 24 hours every time after I tried to connect the stream before I know that it's working or not?
As such the domain does not matter, but setting it to datastudio.google.com won't hurt
And yes, max 24hr delay.
see https://support.google.com/datastudio/answer/7410792?hl=en for full instructions
You can see the data studio usage information in real time if you connect your google analytics to bigquery, and then you might connect bigquery to datastudio.
In GA4, you need to go to Admin -> BigQuery Links and follow the steps to create the link. It is important to enable the daily and streaming options under the frequency section.
This connection will create a schema in the selected dataset with two tables: events_ and events_intraday_. The events_ table contains historical data and events_intraday_ contains real time data. You might join them into a single table to obtain a real time and historical database all at once.
Finally, just import these tables into data studio, and appreciate your real time analytics of data studio usage.

Create a demo account that's usable with the Analytics Reporting API? [Google Analytics]

I need to test some things with a Google Analytics View, but the default demo account that Google offers does not allow user to use the Analytics Reporting API :
You cannot use the demo account with the Analytics Reporting API. Attempts to do so result in a permissions error: (403) insufficientPermissions.
Source
I just need to replicate a view with different data already.
Thanks for helping.
You cannot replicate views with data. A view will always start empty.
However you can simply register a Google Analytics account and send lots of bogus data (either by setting up a web page with tracking code and call it repeatedly, or set a cron job to fire call via the measurement protocol) (this will happen in realtime, so you need to wait a few days before you have enough useable data. There is not way to bulk-create hits for a longer timeframe).
If you just want to test the API it probably matter that much what data you use, so a mock account should work just fine.

google analytic not showing real time data on specific Ip

Google Analytics not showing any result on specific IP, when check on mobile GA is showing the data. The error we are getting is "Resource is not available. Please try again later.
One or more of the services on which we depend is unavailable. Please try again later after the service has had a chance to recover."
Google have a bug in Google Analytics, which they are trying to fix:
https://www.ohow.co/google-analytics-real-time-report-not-working-fix/

Google Analytics showing active usage for down site

I have a little domain I have been toying with for a year. I put it up on GitHub Pages and I believe I configured Google Analytics. There was no real content there, surely no visitors, and the site went down for unknown reasons at an unknown time. We do use email on this domain, hosted by Google Apps; this has been up and used continuously.
Now, while resurrecting the site and trying to configure Google Analytics, I logged into Google Analytics and I see months of history. Usage is small but very diverse with hundreds of sessions logged from all over the world, over the past year.
I cannot fathom what produced these data (believing the site to be down for this period, and it never having content anyway), and I am concerned to start using this analytics token out of concern it will continue to report spurious data.
How can I determine the source of these data? How can I zero out the account and get it report true zero usage before I start using it again?
Ryan
There could be someone using your UA-CODE or maybe even you accidently still using that code on another page, luckily, creating a new code is a breeze so you should consider creating a new code for your next project

Is it possible to send data to Google Analytics service by url?

I've been trying to send data to Google Analytics through url, but it's not working.
Here is the url:
http://www.google-analytics.com/__utm.gif?utmac=MY-UA
&utmn=0.57942900+13058623924dd5e0f88d784
&utmp=%2Fmypage.html
&utmr=http%3A%2F%2Fpp.test%2Fmypage-ref.html
&utmdt=test+ga&utmul=en-us
&utmhn=pp.test
&utmcc=__utmz%3D1.1304060743.1.1.utmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%3B+__utma%3D1.100229728.1304060743.1304060743.1304060743.1%3B+__utmz%3D185677488.1304391672.1.1.utmcsr%3D%28direct%29%7Cutmccn%3D%28direct%29%7Cutmcmd%3D%28none%29%3B+__utma%3D185677488.2126025763.1304391672.1304667350.1305106191.6%3B+PHPSESSID%3Dpghin7v4q3g5lssq5c5mjchfj6
&utmcn=1
&utmcr=1
&utmwv=1
&utmsr=1280x1024
&utmsc=32-bit
&utmcs=-
&utmje=0
I have been trying follow the parameter here http://code.google.com/apis/analytics/docs/concepts/gaConceptsOverview.html
I call the url by curl and tested through the address bar, but not working, no data in my Google Analytics :(
Any ideas please?
It's possible, although if you're trying to do it you're probably doing something wrong.
But there's more to it than you can see at first sight. The best way to achieve it is to use a mobile library for Google Analytics. Google already provides this for a couple of languages. These libraries are built to send data to Google Analytics via your server. And if you check the server code you'll see that there are some calculations involved. You can possibly change one of these libraries to be run without a request. They're not complicated.
http://code.google.com/mobile/analytics/docs/web/

Resources