Title: Doesn&#8217;t load Google Analytics
Last modified: February 19, 2021

---

# Doesn’t load Google Analytics

 *  Resolved [helloplanetat](https://wordpress.org/support/users/helloplanetat/)
 * (@helloplanetat)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/)
 * Hey,
    another problem: For some reason, the plugin isn’t loading my Google Analytics
   Cookies anymore – even if i say allow all (if i open it in incognito mode to 
   test it). They only appear if i leave the website and come back again. On my 
   other website it still works (shop.rauf-und-davon.at). Can you maybe help me?
   All the best, Daniel
    -  This topic was modified 5 years, 3 months ago by [helloplanetat](https://wordpress.org/support/users/helloplanetat/).
    -  This topic was modified 5 years, 3 months ago by [helloplanetat](https://wordpress.org/support/users/helloplanetat/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-load-google-analytics%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [helloplanetat](https://wordpress.org/support/users/helloplanetat/)
 * (@helloplanetat)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14076178)
 * I just figured out that there seems to be a problem with wp_rocket.
    As soon 
   as i deactivate the “Delay JavaScript Execution” option (what i’ve done right
   now) it works. Is there a way to fix that? All the best, Daniel
    -  This reply was modified 5 years, 3 months ago by [helloplanetat](https://wordpress.org/support/users/helloplanetat/).
    -  This reply was modified 5 years, 3 months ago by [helloplanetat](https://wordpress.org/support/users/helloplanetat/).
    -  This reply was modified 5 years, 3 months ago by [helloplanetat](https://wordpress.org/support/users/helloplanetat/).
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14081805)
 * Hi [@helloplanetat](https://wordpress.org/support/users/helloplanetat/),
 * I will test it, could you tell me how you have added Analytics, with Complianz
   or another plugin, or directly?
 * Let me know,
 * regards Aert
 *  Thread Starter [helloplanetat](https://wordpress.org/support/users/helloplanetat/)
 * (@helloplanetat)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14082998)
 * Hi aert,
    right now the Code is added manually (via theme) in the header and 
   also in the Complianz Plugin. All the best, Daniel
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14083296)
 * Hi [@helloplanetat](https://wordpress.org/support/users/helloplanetat/),
 * You can delete the manual implementation, Complianz will handle both implementation
   and consent.
 * This will remove the notice in the dashboard as well.
 * regards Aert
 *  Thread Starter [helloplanetat](https://wordpress.org/support/users/helloplanetat/)
 * (@helloplanetat)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14086086)
 * Hi [@aahulsebos](https://wordpress.org/support/users/aahulsebos/),
    i removed
   the manual implementation from the analytics code from the header. It still works.
   Also the opt out function seems to work. I have just one question: Does complianz
   add „_anonymizeIp()“ to the analytics code, so that analytics is compliant with
   DSGVO? Because my canalytics code in the header lookied like this:
 *     ```
       <!-- Global site tag (gtag.js) - Google Analytics -->
       <script async src="https://www.googletagmanager.com/gtag/js?id=UA-130165810-2"></script>
       <script>
         window.dataLayer = window.dataLayer || [];
         function gtag(){dataLayer.push(arguments);}
         gtag('js', new Date());
   
         gtag('config', 'UA-130165810-2', {'anonymize_ip': true});
       </script>
       ```
   
 * Btw i fixed the problem with the “Delay JavaScript Execution” option from wp 
   rocket by deleting al the google referred javascript from the list.
 * All the best,
    Daniel
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14089082)
 * Hi [@helloplanetat](https://wordpress.org/support/users/helloplanetat/),
 * Great to hear that your initial issue has been solved.
 * Yes, anonymize_ip can be added by Complianz to strip a significant part of IP
   addresses. In the eye of privacy laws, this changes the data from personal data
   to non-identifiable data. For more information about this topic, please refer
   to [https://complianz.io/are-your-ip-addresses-anonymized/](https://complianz.io/are-your-ip-addresses-anonymized/).
 * I am marking this thread as resolved. Please feel free to reach out again if 
   you have any further questions.
 *  Thread Starter [helloplanetat](https://wordpress.org/support/users/helloplanetat/)
 * (@helloplanetat)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14090003)
 * Thanks! I tried to check it but i didn’t find any “parameter AIP=”
    I only have
   these:
 *     ```
       v: 1
       _v: j88
       a: 1978301425
       t: pageview
       _s: 1
       dl: https%3A%2F%2Frauf-und-davon.at%2F
       ul: de-de
       de: UTF-8
       dt: Rauf%20und%20Davon%20-%20Dein%20Blog%20rund%20ums%20Thema%20Bergsteigen
       sd: 24-bit
       sr: 1920x1080
       vp: 1186x937
       je: 0
       _u: IEBAAEABAAAAAC~
       jid: 182865991
       gjid: 671277742
       cid: 1529441258.1614083367
       tid: UA-130165810-2
       _gid: 1443483728.1614083367
       _r: 1
       _slc: 1
       z: 693468455
       ```
   
 * All the best,
    Daniel

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

The topic ‘Doesn’t load Google Analytics’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [helloplanetat](https://wordpress.org/support/users/helloplanetat/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/doesnt-load-google-analytics/#post-14090003)
 * Status: resolved