Title: Checking that Google Analytics plugin is completely asynchronous
Last modified: September 8, 2020

---

# Checking that Google Analytics plugin is completely asynchronous

 *  Resolved [Mike Witt](https://wordpress.org/support/users/mike80222/)
 * (@mike80222)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checking-that-google-analytics-plugin-is-completely-asynchronous/)
 * I’ve always assumed that the javascript used in Google Analytics completely asynchronous.
   That it takes virtually no time to execute and that it can’t “hang” if (for example)
   there’s no communication path to the receiver.
 * I just wanted to double check that this is all true. I’ve recently had a raft
   of “Gateway Timeout” responses on my website at SiteGround and SG support says
   that I’ve got a plugin that isn’t responding. I’m just going through all my plugins
   and trying to determine if there’s one that could potentially hang if some network
   path is down.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checking-that-google-analytics-plugin-is-completely-asynchronous/#post-13378362)
 * The plugin uses the exact code recommended by Google in their official docs. 
   The best way to analyze the added scripts would be to take a look at the source
   code of your pages and take a look. You also could run your pages thru various
   free online performance checkers, that would give you more information about 
   how the scripts are loading, whether there is any blockage, etc.
 * That in mind, about your concerns:
 * “I’ve always assumed that the javascript used in Google Analytics completely 
   asynchronous. That it takes virtually no time to execute and that it can’t “hang”
   if (for example) there’s no communication path to the receiver.”
 * Correct. The only thing this plugin does is output a bit of code to your web 
   pages. It isn’t “phoning home” or anywhere else. It simply grabs the GA plugin
   options from the database and outputs the required code as needed.
 * “I’m just going through all my plugins and trying to determine if there’s one
   that could potentially hang if some network path is down.”
 * Same thing as previous reply, there is nothing in the plugin that would cause
   this to happen.
 * I hope this helps, let me know if I can provide any further infos.
 *  Thread Starter [Mike Witt](https://wordpress.org/support/users/mike80222/)
 * (@mike80222)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/checking-that-google-analytics-plugin-is-completely-asynchronous/#post-13378590)
 * Great. Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Checking that Google Analytics plugin is completely asynchronous’ is 
closed to new replies.

 * ![](https://ps.w.org/ga-google-analytics/assets/icon-256x256.png?rev=2053004)
 * [GA Google Analytics – Connect Google Analytics to WordPress](https://wordpress.org/plugins/ga-google-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ga-google-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ga-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/ga-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ga-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ga-google-analytics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mike Witt](https://wordpress.org/support/users/mike80222/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/checking-that-google-analytics-plugin-is-completely-asynchronous/#post-13378590)
 * Status: resolved