Title: Google Analytics doesn&#8217;t load after accept
Last modified: May 15, 2020

---

# Google Analytics doesn’t load after accept

 *  Resolved [coredevel](https://wordpress.org/support/users/coredevel/)
 * (@coredevel)
 * [6 years ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/)
 * Hi I have issue on plugin because when inserted in unnecessary cookies the script
   of google analytics, after accept cookie in my website the script doesn’t load
 * Can you help me please?

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

 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [6 years ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12843097)
 * Hi [@coredevel](https://wordpress.org/support/users/coredevel/),
 * Make sure you have added the Google analytics script in non necessary cookies
   as shown [here](https://www.cookielawinfo.com/wp-content/uploads/2020/01/19-1024x447.png).
 * Share the site URL once done so that we can have a look.
 *  Thread Starter [coredevel](https://wordpress.org/support/users/coredevel/)
 * (@coredevel)
 * [6 years ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12844796)
 * Hi
    Yes of course! I have paste all code from analytics in section HEAD like 
   your screenshoot but doesn’t load analytics after accepted with the button. You
   can see here: [https://piantaaloe.it](https://piantaaloe.it)
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12849989)
 * Hi [@coredevel](https://wordpress.org/support/users/coredevel/).
 * We can see that you have some level of server caching in the site. To check it,
   add some query parameters after the end of the URL and reload the page and it
   will run the script.
 * This version of the plugin has limited caching compatibility. You can check out
   the premium version for advanced caching compatibility.
 *  Thread Starter [coredevel](https://wordpress.org/support/users/coredevel/)
 * (@coredevel)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12860299)
 * Hi [@webtoffee](https://wordpress.org/support/users/webtoffee/)
    Can you give
   me the code that must paste in htaccess file for unlock the cache for the plugin
   and fix this issue please?
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12864056)
 * Hi [@coredevel](https://wordpress.org/support/users/coredevel/),
 * You need to contact your hosting to get assistance regarding that.
 *  Thread Starter [coredevel](https://wordpress.org/support/users/coredevel/)
 * (@coredevel)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12880192)
 * My hosting fix the cookie issues on htaccess but I have still problem after accept
   cookie, because my analytics code doesn’t appear in view-source…
    I think that
   plugin has the bug…
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12891336)
 * Hi [@coredevel](https://wordpress.org/support/users/coredevel/),
 * Your site still has caching. Please refer the 2 screenshots below:
 * [Screenshot 1](https://snipboard.io/swcW0m.jpg): GA cookie are not loaded after
   accept.
    [Screenshot 2](https://snipboard.io/Kgwz1M.jpg): Added a query parameter
   in URL to flush the cache and as you can see the cookies are set.
 *  Thread Starter [coredevel](https://wordpress.org/support/users/coredevel/)
 * (@coredevel)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12892652)
 * Nothing, my hosting doing the force cache clearing but doesn’t work. They told
   me that you can give me another options because it’s very strange that the plugin
   continue to get this issue…
    We thought that Cloudfare create this issue and 
   I don’t know how to fix..

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

The topic ‘Google Analytics doesn’t load after accept’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [coredevel](https://wordpress.org/support/users/coredevel/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/google-analytics-doesnt-load-after-accept/#post-12892652)
 * Status: resolved