Currently calling showModalDialog() in a Google docs addon will take 3 seconds to display a modal popup. Sometimes it is much more : 6 seconds.
This is a minimum : a blank popup will take - at least - 3 seconds, a real popup will take even more.
On the contrary, when a user opens a popup in Google docs, like 'insert special character', it is very fast (less than 1 second, almost instant).
Is there a way to avoid this very slow API response time ?
Related
I am using Google smarthome washer code to control my ESP8266 with SSR. Everything works fine but every time I open my Google Home app or Home Control in Nest Hub 2, devices are shown loading for around 10 seconds or more.
But devices from other vendors like Philips Hue are shown in 2-3 seconds.
Any suggestions on what I might be doing wrong.
Here is the link to the code I used.
https://github.com/googlecodelabs/smarthome-washer
I would recommend checking if you are able to handle the Query response in time and in
the correct format. Also, can you check the backend logs for the query requests and
response for the status of all the devices.
I solved the problem, my reportstate function was not updating the states of the devices due to which QUERY intent has to be called everytime I opened Google Home app which increased the loading time. Home Graph viewer is the tool to debug.
You can check the log files and see if you are handling the request and response properly or having any issue in that.
Currently I'm using an alert window to give feedback to the user how many sheets have been exported and where. I noticed from Google Cloud Platform StackDriver logs that I got the error "Timed out waiting for user response" from that window, which means that some users just don't press the okay button. I can totally understand that, since this is information I want to show for a limited time.
So I'm wondering: Is there any best practise from Google how to show a simple popup that vanishes after a certain time? Maybe something similar looking to the Google working bubble at the bottom:
A simple popover can be found in the method toast(msg, title). Toast also supports a timed message toast(msg, title, timeoutSeconds)
So basically the first hit is returning 302 and the user agent (in this case my web browser) is invited to send the SAME hit again to another url but this time even when im getting a 200 the hit is sent incorrectly because lots of the params are not being send. (This happens sometimes not always)
First Hit:
Second Hit:
To clarify a little more im getting this problem with an addToCart (EE) and its causing me to products sales without being added to cart. I checked the dataLayer and everything seems to be ok.
So im in doubt if its a problem with my web browser or its a problem with analytics?
If version of the web browser are needed you can read it on the user-agent of the images.
I had the same issue when I tried to manually insert the google analytics tracking code(gtag) in my .
First step was to remove the Google analytics code from the header. I had used the plugin 'Insert Headers and Footers'.
Afterwards I installed Insights Monster plugin, went through the launch wizard and the 302 redirect disappeared.
I didn't really want to use a heavy plugin to resolve this issue but unfortunately it was the only solution for me.
I copied and answer from here: https://tonnygaric.com/blog/prevent-google-analytics-from-making-requests-to-stats-g-doubleclick-net you need to do a configuration in Google Analytics dashboard.
The answer is pretty simple. Go to GA -> Admin -> Tracking info -> Data Collection -> disable both toggles and click on save. It can take up to 24 hours for the changes to take effect.
I've recently written a script that monitors all web traffic on my site, pages visited and http referees etc. the only thing is this URL pops up quite a lot:
http://www.google.com/aclk?sa=L&ai=CpEvvFIUuU-HsL-KLsQeToYAQ0p6OgwTSx7TDZZCY14MBCAAQAVDi_eSK-v____8BYMmG_4fwo-wSyAEBqgQfT9AXzXKHZOapkrGJKMmlEyCHmzHyLx_B7YlQXndIb7oFEwjb7J2xiai9AhVkTjIKHdpMAFPKBQCAB6LT4CuQBwM&ei=FIUuU9uSLOScyQHamYGYBQ&sig=AOD64_22JDmj354Hn
But when I goto it it is just blank. Any idea what it might be?
As per this post : http://clicky.com/forums/?id=6591
It seems to be something google uses to track clicks on ads, with aclk bieng short of ad click.
And it returns a blank page as the link throws a bad request error, when accessed directly. Which essentially means no page has been loaded. (check console).
This is a result of obfuscation techniques called "Secure Search" implemented by Google a couple of years ago to prevent traffic analysis tools from gathering Keyword/User data due to privacy concerns.
It is caused by the user being logged in with their Google account when they click through to your website, therefore the URL is unique to each user session and this is why it returns a blank page.
In Google Analytics this results in (not provided) keyword data accounting for around 80% to 90% of all referrals.
More info here:
http://searchenginewatch.com/article/2296351/Goodbye-Keyword-Data-Google-Moves-Entirely-to-Secure-Search
Chrome makes it pretty easy to integrate Google Analytics in Chrome, but it seems to me that using it the way indicated here:
http://developer.chrome.com/extensions/tut_analytics.html
would cause your user numbers to be artificially inflated.
If you call trackPageview every time background.js is loaded, you'll get a new "unique visitor" every time the browser is left open for more than 30 minutes.
Should calls to trackPageView be made no more than once ever 24 hours to make sure you're only getting daily uniques?
What's the best way to interpret Google Analytics data for a Chrome extension?