Title: Site Kit not placing analytics code
Last modified: August 16, 2021

---

# Site Kit not placing analytics code

 *  Resolved [ralphonz](https://wordpress.org/support/users/ralphonz/)
 * (@ralphonz)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/)
 * Hi there,
 * I’ve enabled and connected analytics and optimise with site kit but no tags are
   being placed on my site.
 * I’ve disabled the lite speed cache plugin to rule that out and have cloud flare
   in development mode.
 * The site health for site kit shows this:
 *     ```
       Search Console property	https://blueleafrecordingstudio.co.uk/
       Analytics account ID	109353520
       Analytics property ID	UA-109353520-1
       Analytics view ID	164187868
       Analytics snippet placed	No
       Analytics 4 property ID	None
       Analytics 4 web data stream ID	None
       Analytics 4 measurement ID	None
       Analytics 4 snippet placed	Yes
       Optimize ID	OPT-NDSHLLF
       ```
   
 * But as you can see no analytics tags are shown on the page. Analytics works fine
   if I use a separate plugin to insert the code (GA-Germanised) but then optimise
   will not work. It seems like site kit is not inserting tags in the <head>
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsite-kit-not-placing-analytics-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Abdullah Ramzan](https://wordpress.org/support/users/abdullahramzan/)
 * (@abdullahramzan)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14771628)
 * Hello [@ralphonz](https://wordpress.org/support/users/ralphonz/) ,
 * Thanks for opening a support topic.
 * It seems your [website is down](https://downforeveryoneorjustme.com/blueleafrecrodingstudio.co.uk?proto=https).
   Please check your website & make it live so we can inspect.
 * To dig further into this issue please share your [Site Health information](https://i.imgur.com/Rtkmsba.png)
   via [form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
   privately so we can inspect your active plugins.
 * Best Regards,
 *  Thread Starter [ralphonz](https://wordpress.org/support/users/ralphonz/)
 * (@ralphonz)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14771663)
 * Sorry, typo in the link!
 * The site is:
    [https://blueleafrecordingstudio.co.uk](https://blueleafrecordingstudio.co.uk)
 *  [Abdullah Ramzan](https://wordpress.org/support/users/abdullahramzan/)
 * (@abdullahramzan)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14773325)
 * Thanks for sharing correct link.
 * It’d be great if you can share your [Site Health information](https://i.imgur.com/Rtkmsba.png)
   as well so we can inspect your active plugins & guide you accordingly. You can
   use this [form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/)
   to share information.
 * Best Regards.
 *  Thread Starter [ralphonz](https://wordpress.org/support/users/ralphonz/)
 * (@ralphonz)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14773349)
 * Thanks Abdullah, I’ve submitted the form 🙂
 *  [Abdullah Ramzan](https://wordpress.org/support/users/abdullahramzan/)
 * (@abdullahramzan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14775503)
 * Hello [@ralphonz](https://wordpress.org/support/users/ralphonz/) ,
 * Thanks for sharing Site Health information.
 * It seems **Ninja Forms – Google Analytics** plugin is conflicting with Site Kit
   as it places the GA snippet as well. Can you please disable this plugin for a
   while & then check the snippet at your website?
 * Best Regards,
 *  Thread Starter [ralphonz](https://wordpress.org/support/users/ralphonz/)
 * (@ralphonz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14776555)
 * Thanks for spotting that [@abdullahramzan](https://wordpress.org/support/users/abdullahramzan/)!
 * I have de-activated that plugin but unfortunately I’m still not seeing any analytics
   or optimize tags on the site?
 * Any other ideas?
 *  [Abdullah Ramzan](https://wordpress.org/support/users/abdullahramzan/)
 * (@abdullahramzan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14777619)
 * Hello [@ralphonz](https://wordpress.org/support/users/ralphonz/) ,
 * Thanks for getting back to us.
 * Can you revisit your Analytics Settings within Site Kit and see if there is an
   option to allow Site Kit to insert Universal Analytics & GA4 code? You can edit
   the settings by going to **Site Kit Settings > Connected Services > Analytics
   > Edit**. Please see [screenshot](https://imgur.com/a/cTCGytQ).
 * Best Regards,
 *  Thread Starter [ralphonz](https://wordpress.org/support/users/ralphonz/)
 * (@ralphonz)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14778058)
 * Thanks [@abdullahramzan](https://wordpress.org/support/users/abdullahramzan/),
   that did the trick. Analytics and optimize are now working for me.
 * Cheers!
 *  [Abdullah Ramzan](https://wordpress.org/support/users/abdullahramzan/)
 * (@abdullahramzan)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14779568)
 * Glad to hear you were able to setup Analytics correctly.
 * Feel free to share your [feedback about Site Kit](https://wordpress.org/support/plugin/google-site-kit/reviews/#new-post)&
   experience so far with support team.
 * Best Regards,

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

The topic ‘Site Kit not placing analytics code’ 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/)

 * 9 replies
 * 2 participants
 * Last reply from: [Abdullah Ramzan](https://wordpress.org/support/users/abdullahramzan/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/site-kit-not-placing-analytics-code/#post-14779568)
 * Status: resolved