Title: GA offload which code?
Last modified: February 16, 2018

---

# GA offload which code?

 *  Resolved [areijs](https://wordpress.org/support/users/areijs/)
 * (@areijs)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/)
 * Hello,
 * I have seen the topics on GA offload and read that you need to insert the new
   GA script.
 * This is what I hope is the correct script which I found in GA:
 * <!– Global site tag (gtag.js) – Google Analytics –>
    <script async src=”https://
   www.googletagmanager.com/gtag/js?id=UA-XXXXXX-1″></script> <script> window.dataLayer
   = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag(‘js’,
   new Date());
 * gtag(‘config’, ‘UA-XXXXXX-1’);
    </script>
 * Since I am not technical at all, can you please let me know what part I should
   insert? I inserted it all, but that does not seem to work.
 * Hope it can be fixed! Thanks in advance, Arien
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fga-offload-which-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jake Henshall](https://wordpress.org/support/users/jahe/)
 * (@jahe)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10001175)
 * [@areijs](https://wordpress.org/support/users/areijs/)
 * I believe all you need to add to the plugin is the UA-XXXXXX-1 code nothing else.
 * Please let me know if you need any more help.
 * Thanks, Jake.
 *  Thread Starter [areijs](https://wordpress.org/support/users/areijs/)
 * (@areijs)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10001981)
 * Hello Jake,
 * Many thanks for your reaction. I did that but unfortunately did not work.
 * Read elsewhere on the forum that you should use “the new” GA code if UA-XXXXXX-
   1 did not work.
 * Finally hope to get it working somehow. I welcome any other suggestions…
 * Thanks, Arien
 *  [theguitarlesson](https://wordpress.org/support/users/theguitarlesson/)
 * (@theguitarlesson)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10002208)
 * Yeah, this doesn’t work for me either. I’m not aware of any other GA codes or
   IDs. So if I enter the UA-XXXXXX-1 to the relevant field of the plugin, GA stops
   collecting data. It does output some code on page load, I can see it in the source
   code, but it doesn’t seem to be working.
 * Best,
    Tom
 *  [digsbagger](https://wordpress.org/support/users/digsbagger/)
 * (@digsbagger)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10006326)
 * [@areijs](https://wordpress.org/support/users/areijs/)
 * Have you tried these:
 * 1. Disabled all plugins to see if you have any plugins that are stopping it from
   working.
    2. Do you have an adblocker on your browser maybe try to disable it
   and reload the page?
 * There are also some other plugins that you could try:
 * [https://wordpress.org/plugins/whippet/](https://wordpress.org/plugins/whippet/)
   
   [https://wordpress.org/plugins/clearfy/](https://wordpress.org/plugins/clearfy/)
 *  Thread Starter [areijs](https://wordpress.org/support/users/areijs/)
 * (@areijs)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10006707)
 * Many thanks digsbagger, have disabled plugins, my adblocker, cleared browser 
   history and caches, but unfortunately non of that helped.
 * Maybe I will switch to clearfy, but prefer is plugin developer will come with
   a solution.
 *  Plugin Author [hosting.io](https://wordpress.org/support/users/pigeonhut/)
 * (@pigeonhut)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10006728)
 * Hi all and thanks for the help above,
 * Arejis you should be inserting just the code UA-XXXXXX-1, if this does not show
   up in Google, then it will not work and the advice is do not use this feature,
   its not supported by Google at all and we have tried numerous versions of this,
   but not all sites work with it, as of now, there is no fix for this so the only
   suggestion is, if it does not work for your site, use the traditional GA embed
   as you were using before
 * Thanks again for continued use and support of the plugin
 * jody
 *  Thread Starter [areijs](https://wordpress.org/support/users/areijs/)
 * (@areijs)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10006742)
 * Thanks Jody, and fingers crossed that someday you will find THE solution, since
   it really would improve loading speed.

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

The topic ‘GA offload which code?’ is closed to new replies.

 * ![](https://ps.w.org/wp-disable/assets/icon-128x128.jpg?rev=1616150)
 * [Reduce HTTP Requests, Disable Emojis & Disable Embeds, Speedup WooCommerce](https://wordpress.org/plugins/wp-disable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-disable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-disable/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-disable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-disable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-disable/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [areijs](https://wordpress.org/support/users/areijs/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/ga-offload-which-code/#post-10006742)
 * Status: resolved