Title: mikdac's Replies | WordPress.org

---

# mikdac

  [  ](https://wordpress.org/support/users/mikdac/)

 *   [Profile](https://wordpress.org/support/users/mikdac/)
 *   [Topics Started](https://wordpress.org/support/users/mikdac/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mikdac/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mikdac/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mikdac/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mikdac/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mikdac/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Why does site kit add disabling code at the top?](https://wordpress.org/support/topic/why-does-site-kit-add-disabling-code-at-the-top/)
 *  Thread Starter [mikdac](https://wordpress.org/support/users/mikdac/)
 * (@mikdac)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/why-does-site-kit-add-disabling-code-at-the-top/#post-15302600)
 * [@adamdunnage](https://wordpress.org/support/users/adamdunnage/), Your reply 
   made me check with other browsers. And there the disabled snippet was no more.
   I went further and cleared all cached data in my Chrome browser and now the snippet
   is gone there as well. Thank you (without your comment it would have taken me
   quite some more time to figure this out).
    -  This reply was modified 4 years, 3 months ago by [mikdac](https://wordpress.org/support/users/mikdac/).
      Reason: Marked as resolved
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Why does site kit add disabling code at the top?](https://wordpress.org/support/topic/why-does-site-kit-add-disabling-code-at-the-top/)
 *  Thread Starter [mikdac](https://wordpress.org/support/users/mikdac/)
 * (@mikdac)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/why-does-site-kit-add-disabling-code-at-the-top/#post-15302557)
 * [@adamdunnage](https://wordpress.org/support/users/adamdunnage/) very strange,
   I definitely still see that section. At the very top of the source. Please see
   screenshot at [https://imgur.com/a/gVP6XKR](https://imgur.com/a/gVP6XKR)
    -  This reply was modified 4 years, 3 months ago by [mikdac](https://wordpress.org/support/users/mikdac/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Kit by Google - Analytics, Search Console, AdSense, Speed] Why does site kit add disabling code at the top?](https://wordpress.org/support/topic/why-does-site-kit-add-disabling-code-at-the-top/)
 *  Thread Starter [mikdac](https://wordpress.org/support/users/mikdac/)
 * (@mikdac)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/why-does-site-kit-add-disabling-code-at-the-top/#post-15302152)
 * Hi [@adamdunnage](https://wordpress.org/support/users/adamdunnage/), thank so
   much for reaching out. I’ve provided the Site Health info using the form. I just
   thought I should share some more code from the top most part the page. It really
   looks like it is Site Kit adding these lines when you just read the code/comments:
 *     ```
       <!-- Kodblock för frånsägning av ”Google Analytics”, tillagt av Site Kit -->
       			<script type="text/javascript">
       window["ga-disable-UA-200756347-2"] = true;
       </script>
       			<script type="text/javascript">
       window["ga-disable-G-5N7ZF76M0K"] = true;
       </script>
       			<!-- Avslut av kodblock för frånsägning av ”Google Analytics”, tillagt av Site Kit -->
       ```
   
 * My apologies for the Swedish language, but that is straight from the source, 
   unedited by me, and probably due to the fact that the site language is Swedish.
   I assume the English comment read something like
 * > Code block for disabling of “Google Analytics”, added by Site Kit
 * Hope this clarifies.
    -  This reply was modified 4 years, 3 months ago by [mikdac](https://wordpress.org/support/users/mikdac/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Customer Reviews for WooCommerce] How to disable a search bar](https://wordpress.org/support/topic/how-to-disable-a-search-bar/)
 *  [mikdac](https://wordpress.org/support/users/mikdac/)
 * (@mikdac)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/how-to-disable-a-search-bar/#post-14888734)
 * [@longnguyen89](https://wordpress.org/support/users/longnguyen89/) Thanks a lot,
   that worked, and helped me understand what to look for if I need further optimizations.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Customer Reviews for WooCommerce] How to disable a search bar](https://wordpress.org/support/topic/how-to-disable-a-search-bar/)
 *  [mikdac](https://wordpress.org/support/users/mikdac/)
 * (@mikdac)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/how-to-disable-a-search-bar/#post-14879332)
 * Hi,
 * I’ve tried this for our site, but it not only remove the search field but also
   the summary itself (i.e. the stars). Is there a way to only show the stars? Preferably
   with the possibility to also disable the histogram showing the distribution of
   the reviews. I’m happy to do this either with short code arguments, via css or
   php, but I would probably need some guidance to get started.
    -  This reply was modified 4 years, 7 months ago by [mikdac](https://wordpress.org/support/users/mikdac/).

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