Title: Analytics Code does not appear
Last modified: October 15, 2025

---

# Analytics Code does not appear

 *  Resolved [stephanieoberzaucher](https://wordpress.org/support/users/stephanieoberzaucher/)
 * (@stephanieoberzaucher)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/)
 * Hi,
 * Hello, I have set up Google Analytics in the Sitekit plugin and according to 
   the plugin, everything is correct. However, I cannot see any data in Google Analytics
   and I cannot see the tag in the source code either.
   I have already cleared the
   cache on the server side, but that did not help. I have also completely reinstalled
   Sitekit, but that did not help either.
 * Please give me some tips on what else I can do.
   Is there any reason not to integrate
   GA normally via the code as an alternative?
 * Best, 
   Stephanie
    -  This topic was modified 7 months, 3 weeks ago by [stephanieoberzaucher](https://wordpress.org/support/users/stephanieoberzaucher/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fanalytics-code-does-not-appear%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [stephanieoberzaucher](https://wordpress.org/support/users/stephanieoberzaucher/)
 * (@stephanieoberzaucher)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18681962)
 * It’s not the code, that’s definitely correct. And if it were wrong, at least 
   the incorrect version would have to be visible in the source code.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18681968)
 * Thanks for reaching out [@stephanieoberzaucher](https://wordpress.org/support/users/stephanieoberzaucher/).
   I performed some checks on your site and indeed I don’t see a Google Analytics
   snippet placed via Site Kit. There can be a number of reasons for this, including:
    1. The setting to place the snippet [could be toggled off](https://imgur.com/a/fSuOTao)(
       even if the module is connected within Site Kit)
    2. Your WordPress configurations (ie. Your sites `environment_type` may be set 
       to staging, see [here](https://github.com/google/site-kit-wp/issues/7962))
    3. A third party plugin conflict
    4. A theme modification resulting the one of the standard WordPress hooks not functioning.
 * If you’d like to share your Site Health information, we can investigate this 
   further for you. Thank you.
 *  Thread Starter [stephanieoberzaucher](https://wordpress.org/support/users/stephanieoberzaucher/)
 * (@stephanieoberzaucher)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18682125)
 * Thanks for your response
   1. where is this button? i don’t think that its toogled
   off but i don’t have this view2. I do not think, that i have staging. But how
   can I check? 3. Maybe? I do not have many plugings4. mhm okay What information
   do you need?Best, Steffi
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18682237)
 * Hi Steffi, and apologies, I never shared the link to where you can share your
   Site Health information. You can do so [here](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/).
 * In relation to the setting to place the Google Analytics snippet, you’ll find
   that at [Site Kit > Settings > Connected Services > Analytics > Edit](https://sitekit.withgoogle.com/documentation/supported-services/analytics#analyticssettings:~:text=Place%20Google%20Analytics,snippet%20for%20you.).
   Do let me know if you happen to have the snippet placement disabled. You can 
   enable if so, and I can then check your site once more.
 * Let me know if you have any questions with the above. Thank you.
 *  Thread Starter [stephanieoberzaucher](https://wordpress.org/support/users/stephanieoberzaucher/)
 * (@stephanieoberzaucher)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18683321)
 * Hi, I filled in the link. Sitekit was already activated, so that wasn’t the problem.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [7 months, 3 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18683399)
 * Many thanks for sharing [@stephanieoberzaucher](https://wordpress.org/support/users/stephanieoberzaucher/).
   From reviewing your Site Health information I can see the issue. Your `environment_type`
   is set to `local`. Only sites that have a `production `value will see the Site
   Kit snippets placed.
 * ![](https://i0.wp.com/i.imgur.com/td6dXQ8.png?ssl=1)
 * I’m unsure why your `environment_type` is set to local, maybe initially when 
   creating your website it was created using a local web server. Given your website
   is now live, I would advise changing this to `production`, at which stage the
   Site Kit placed snippets will be placed. There may be a plugin such as Website
   Builder by SeedProd that’s defining your environment type, or you may have the
   environment type set in your wp-config file, located at your websites root directory.
   It’s also possible that your environment type is set at host level.
 * Let me know if you don’t see any option to change your environment type within
   your Website Builder by SeedProd, or you don’t see any `environment_type `references
   in your wp-config file and I can advise on this further. I’ll perform some checks
   with the same plugin to see if there is a configuration we can change in the 
   meantime.
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18693104)
 * As we didn’t receive a response I’ll mark this as resolved. Feel free to [open a new support topic](https://wordpress.org/support/plugin/google-site-kit/#new-post)
   if you continue to encounter issues, or reopen this topic and we’d be happy to
   assist.

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

The topic ‘Analytics Code does not appear’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [7 months, 2 weeks ago](https://wordpress.org/support/topic/analytics-code-does-not-appear/#post-18693104)
 * Status: resolved