Using Google Site Kit – Shifter

Google Site Kit is not compatible with Shifter. This is because Site Kit detects the Docker URL during the WordPress setup process.

Details

Google Site Kit is a convenient plugin for integrating WordPress sites with various Google services (such as Search Console, Analytics, and AdSense). However, in a Shifter environment, Site Kit incorrectly detects the Docker URL during WordPress setup.

Impact

Due to this issue, you cannot configure or use Site Kit properly.

Alternatives

To use Google services with Shifter, please consider the following alternatives.

  • Google Analytics: Add the Google Analytics tracking code directly to your theme or a plugin.
  • Google Search Console: Submit a sitemap to Google Search Console and verify site ownership.
  • Google AdSense: Add the AdSense ad code to your theme or plugin.